     
     
     override func viewDidAppear(animated: Bool) {
-//        if NSUserDefaults.standardUserDefaults().boolForKey(YonaConstants.nsUserDefaultsKeys.isBlocked) == false {
-//            self.codeInputView.becomeFirstResponder()
-//        }
+        //        if NSUserDefaults.standardUserDefaults().boolForKey(YonaConstants.nsUserDefaultsKeys.isBlocked) == false {
+        //            self.codeInputView.becomeFirstResponder()
+        //        }
         if isFromSettings {
             codeInputView.becomeFirstResponder()
             closeButton  = UIBarButtonItem(image: UIImage(named: "icnBack"), style: UIBarButtonItemStyle.Plain, target: self, action: #selector(LoginViewController.backToSettings(_:)))

            self.pinResetButton.setTitleColor(UIColor.yiGrapeColor(), forState: UIControlState.Normal)
        }
        pinResetButton.layer.cornerRadius = pinResetButton.frame.size.height/2
//        pinResetButton.layer.borderWidth = 1
    }
    
    @IBAction func pinResetTapped(sender: UIButton) {

        
        
    }
    
    @IBAction func cancelChangeServer() {
        UIView.animateWithDuration(0.3, animations: {
            self.serverHiddenView.alpha = 0.0
        })
        serverHiddenTextField.resignFirstResponder()
        codeInputView.becomeFirstResponder()
    }
    
    
    @IBAction func longPress(){
        if let url = NSUserDefaults.standardUserDefaults().stringForKey("YONA_URL") {
