     }
 
     override func supportedInterfaceOrientations() -> UIInterfaceOrientationMask {
+
         return UIInterfaceOrientationMask.Portrait
     }
     

    }

    func enableActivity(enabled: Bool) {
        enabled ? activityIndicator.startAnimating() : activityIndicator.stopAnimating()
        tableView.userInteractionEnabled = !enabled
    }

    }

    func generatePasswordFromTouchID(success: Bool, error: NSError?) {

        if success, let password = self.getMasterPasswordFromKeychain() {
            NSOperationQueue.mainQueue().addOperationWithBlock { _ in
                self.masterPasswordTextField.text = password
                self.generatePassword()
            }
        }
        else {
            NSOperationQueue.mainQueue().addOperationWithBlock { _ in
                self.masterPasswordTextField.becomeFirstResponder()
            }
