@Override
    protected void cleanup(Application app) {
    }
Overrides the automatic synching of a child's enabled state.
 When override is true, a child will remember its old state when
 the parent's enabled state is false so that when the parent is
 re-enabled the child can resume its previous enabled state.  This
 is useful for the cases where a child may want to be disabled
 independent of the parent... and then not automatically become
 enabled just because the parent does.
 Currently, the parent's disabled state always disables the children,
 too.  Override is about remembering the child's state before that
 happened and restoring it when the 'family' is enabled again as a whole.
jme3-core/src/main/java/com/jme3/app/state/CompositeAppState.java