         notificationTimer?.invalidate()
         notificationTimer = nil
     }
-
-    // MARK: - Gesture delegate
+    
+    // MARK: - Delegates
+    
+    // MARK: Gesture delegate
 
     public func gestureRecognizer(gestureRecognizer: UIGestureRecognizer, shouldReceiveTouch touch: UITouch) -> Bool {
 

        if let authChangeClosure = authChangeClosure {
            authChangeClosure(true, getResultsForConfig())
        }
    }
    
    func appForegroundedAfterSettings (){
        
        NSNotificationCenter.defaultCenter().removeObserver(self, name: UIApplicationDidBecomeActiveNotification, object: nil)
        
        detectAndCallback()
    }
    
    func showDeniedAlert(permission: PermissionType) {

        return false
    }

    // MARK: Location delegate

    public func locationManager(manager: CLLocationManager, didChangeAuthorizationStatus status: CLAuthorizationStatus) {

        detectAndCallback()
    }
    
    // MARK: Bluetooth delegate
    
    public func peripheralManagerDidUpdateState(peripheral: CBPeripheralManager) {
        
