         if (value == active)
             return;
         
-        super.setActive(value);
-        
         if (value)
         {
             createTopView();

            if (!maintainNavigationStack)
                navigationStack.popToFirstView();
        }
    }
    
    //----------------------------------

        
        if (!currentView)
            return;
        
        // Deactivate the view if it is active
        if (currentView.active)
            currentView.setActive(false);
        
        removeElement(currentView);
        
