         if let popoverController = alertController.popoverPresentationController {
             popoverController.barButtonItem = sender
         }
-
+        
         self.presentViewController(alertController, animated: true) {
             #if DEBUG
                 print("presentViewController: \(alertController.debugDescription)")

        }
        
        alertController.addAction(yesAction)

        if #available(iOS 9.0, *) {
            alertController.preferredAction = yesAction
        }

        AppDataManager.sharedInstance.shouldDisableIdleTimer = self.site!.overrideScreenLock
        AppDataManager.sharedInstance.updateSite(site!)
        UIApplication.sharedApplication().idleTimerDisabled = site!.overrideScreenLock
        
        #if DEBUG
            print("{site.overrideScreenLock:\(site?.overrideScreenLock), AppDataManager.shouldDisableIdleTimer:\(AppDataManager.sharedInstance.shouldDisableIdleTimer), UIApplication.idleTimerDisabled:\(UIApplication.sharedApplication().idleTimerDisabled)}")
        #endif
