     }
     
     func scheduleLocalNotification(site: Site) {
-        println(">>> Entering \(__FUNCTION__) <<<")
+//        println(">>> Entering \(__FUNCTION__) <<<")
         
         if (site.allowNotifications == false) { return }
         
-        println("Scheduling a notification for site: \(site.url)")
+//        println("Scheduling a notification for site: \(site.url)")
         
         // remove old notifications before posting new one.
         for notification in site.notifications {

        // Register the notification settings.
        let newNotificationSettings = UIUserNotificationSettings(forTypes: notificationTypes, categories: nil)
        UIApplication.sharedApplication().registerUserNotificationSettings(newNotificationSettings)
//        UIApplication.sharedApplication().registerForRemoteNotifications()
    }
    
    

        
        self.timer?.invalidate()
        
//        saveSites()
    }
    
    func applicationDidEnterBackground(application: UIApplication) {
