         if let disabledOrDeniedClosure = self.disabledOrDeniedClosure {
             disabledOrDeniedClosure(self.getResultsForConfig())
         }
-        var alert = UIAlertController(title: "\(permission.stringValue()) is currently disabled.",
+        let alert = UIAlertController(title: "\(permission.stringValue()) is currently disabled.",
             message: "Please enable access to \(permission.stringValue()) in Settings",
             preferredStyle: .Alert)
         alert.addAction(UIAlertAction(title: "OK",

    public func requestEvents() {
        switch statusEvents() {
        case .Unknown:
            EKEventStore().requestAccessToEntityType(EKEntityTypeEvent,
                completion: { (granted, error) -> Void in
                    self.detectAndCallback()
            })

		
        // Set up main view
        view.frame = UIScreen.mainScreen().bounds
        view.autoresizingMask = [UIViewAutoresizing.FlexibleHeight, UIViewAutoresizing.FlexibleWidth]
        view.backgroundColor = UIColor(red:0, green:0, blue:0, alpha:0.7)
        view.addSubview(baseView)
        // Base View
