     
     
     //MARK: - CLLocationManagerDelegate
+    
+    /**
+     Receives CLLocationManagerDelegate authorization calls and writes them to the `NSUserDefaults`. Then, a notification is posted that tells the displayed dialog to update the UI accordingly.
+     */
     public func locationManager(manager: CLLocationManager, didChangeAuthorizationStatus status: CLAuthorizationStatus) {
-        
-        NSNotificationCenter.defaultCenter().postNotificationName("LocalizationAuthorizationStatusChanged", object: manager)
-        NSNotificationCenter.defaultCenter().postNotificationName("AuthorizationStatusChanged", object: nil)
         
         let defaults = NSUserDefaults.standardUserDefaults()
         switch status {

The user will be asked to give permissions by a dialog.

When the user already granted a permission, the button is not enabled and a checkmark reflects it.

- returns: Bool that is true, when requested permission is already granted.
If other permissions are missing, the PermissionView will be displayed and false is returned.
    
- parameter viewController: The UIViewController on which the PermissionView shall be presented.
    
- parameter interestedInPermission: Indicates in which action the reuest is interested in. This value decides, whether the permission requesting was successful or not and therefore which completion block will be called.
    
- parameter successBlock: This block will be executed on the main thread if the user dismissed the PermissionView and gave the desired permission.
    

        }
        
        defaults.synchronize()
        
        
        NSNotificationCenter.defaultCenter().postNotificationName("LocalizationAuthorizationStatusChanged", object: manager)
        NSNotificationCenter.defaultCenter().postNotificationName("AuthorizationStatusChanged", object: nil)
    }

    /**
     Open the Settings.app on the users device because he already declined the permission and it needs to be changed from there.
     */
    private func sendUserToSettings() {
        let url = NSURL(string: UIApplicationOpenSettingsURLString)!
        
