         // FIXME (chiedozi): enumerate all possible os values
         if (os.indexOf("Windows") != -1 || os.indexOf("Mac OS") != -1)
             NativeApplication.nativeApplication.
-                addEventListener(Event.EXITING, nativeApplication_deactivateHandler);
+                addEventListener(Event.EXITING, deactivateHandler);
         else
             NativeApplication.nativeApplication.
-                addEventListener(Event.DEACTIVATE, nativeApplication_deactivateHandler);
+                addEventListener(Event.DEACTIVATE, deactivateHandler);
     }
     
     /**

     *  @playerversion AIR 2.5
     *  @productversion Flex 4.5
     */ 
    protected function backKeyHandler(event:KeyboardEvent):void
    {
    }
    

    
    /**
     *  Responsible for persisting the application state to the persistence manager.
     *  This method is automatically called when <code>persistNavigatorState</code>
     *  is set to true.  By default, this method will save the application version 
     *  and the time the persistence object was created to the "timestamp" and 
     *  "applicationVersion" keys.
