         pscope.permissionLabelColor = UIColor.mediumBlue()
         
         // Register for push notification on every launch
-        UIApplication.sharedApplication().registerForRemoteNotifications()
-        UIApplication.sharedApplication().registerUserNotificationSettings(
-            UIUserNotificationSettings(forTypes: [.Alert, .Badge, .Sound], categories: nil))
+        notify()
 
         // Global window attributes
         self.window = UIWindow(frame: UIScreen.mainScreen().bounds)

        }
    }
    
    func applicationWillResignActive(application: UIApplication) {
        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
        print("applicationWillResignActive") //ignore
        print(application)
        
        
        Answers.logCustomEventWithName("Application Will Resign Active",
                                       customAttributes: [:])

    func applicationWillTerminate(application: UIApplication) {
        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
        print("applicationWillTerminate") //ignore
        
        Answers.logCustomEventWithName("Application Terminated",
                                       customAttributes: [:])
