         case .NotDetermined:
             NSLog("Photos: now need to determine")
             PHPhotoLibrary.requestAuthorization() { (status) -> Void in
-                switch status{
+                switch status {
                 case .Authorized:
                     NSLog("Photos: Now authorized")
                     break

            }
            break
        }

        let tap: UITapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(ViewController.dismissKeyboard))
        view.addGestureRecognizer(tap)
    }

    func disableBackupPhotos() {

            self.password.text = savedValue
        }

        self.checkAuthorization()

        let tap: UITapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(ViewController.dismissKeyboard))
        view.addGestureRecognizer(tap)
    }

    func checkAuthorization() {
        let currentStatus = PHPhotoLibrary.authorizationStatus()

        switch currentStatus {
