         
         if (persistNavigatorState)
         {
-            // Register aliases for custom classes that will be written to
-            // persistence store by navigator
-            registerClassAlias("ViewDescriptor", ViewDescriptor);
-            registerClassAlias("NavigationStack", NavigationStack);
-            
-            persistenceManager.load();
-            
             // Dispatch event for loading persistence data
             var eventDispatched:Boolean = true;
             if (hasEventListener(FlexEvent.NAVIGATOR_STATE_LOADING))

    //----------------------------------
    
    private var _persistNavigatorState:Boolean = false;
    
    /**
     *  Toggles the application session caching feature for the application.  

            }
        } 
    }
    
    
    //--------------------------------------------------------------------------
    //
    //  Private Methods
    //
    //--------------------------------------------------------------------------
    
    /**
     *  @private
     *  Method initializes the persistence manager by registering the class
     *  aliases and loading the shared object.  This method is automatically
     *  called by the persistNavigatorState setter.
     */
    private function initializePersistenceManager():void
    {
        // Register aliases for custom classes that will be written to
        // persistence store by navigator
        registerClassAlias("ViewDescriptor", ViewDescriptor);
        registerClassAlias("NavigationStack", NavigationStack);

        // Initialize and load the persisted data
        persistenceManager.load();

        _persistenceInitialized = true;
    }
}
}

