     public func requestReminders() {
         switch statusReminders() {
         case .Unknown:
-            EKEventStore().requestAccessToEntityType(EKEntityType.Reminder,
+            EKEventStore().requestAccessToEntityType(.Reminder,
                 completion: { (granted, error) -> Void in
                     self.detectAndCallback()
             })

                self.detectAndCallback()
            })
        case .Unauthorized:
            self.showDeniedAlert(.Microphone)
        default:
            break
        }
    }

            
            notificationTimer = NSTimer.scheduledTimerWithTimeInterval(1, target: self, selector: Selector("finishedShowingNotificationPermission"), userInfo: nil, repeats: false)
            
            let notificationsPermissionSet = self.configuredPermissions
                .filter { $0.notificationCategories != .None && !$0.notificationCategories!.isEmpty }
                .first?
                .notificationCategories
            UIApplication.sharedApplication().registerUserNotificationSettings(
                UIUserNotificationSettings(forTypes: [.Alert, .Sound, .Badge],
                categories: notificationsPermissionSet)
            )
            
        case .Unauthorized:
            showDeniedAlert(.Notifications)
        case .Disabled:
            showDisabledAlert(.Notifications)
        case .Authorized:
            break
        }
    }
    
    // MARK: Microphone
    public func statusMicrophone() -> PermissionStatus {
        
        switch AVAudioSession.sharedInstance().recordPermission() {
        case AVAudioSessionRecordPermission.Denied:
            return .Unauthorized
        case AVAudioSessionRecordPermission.Granted:
            return .Authorized
        default:
            return .Unknown
        }
    }
    
    public func requestMicrophone() {
