         serverHiddenView.layer.masksToBounds = true
         serverHiddenView.layer.borderWidth = 1.0
         serverHiddenView.layer.borderColor = UIColor.whiteColor().CGColor
-
+        
         let longPressRec = UILongPressGestureRecognizer()
         longPressRec.minimumPressDuration = 4.0
         longPressRec.addTarget(self, action: #selector(longPress))

    
    
    override func viewDidAppear(animated: Bool) {
//        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(_:)))

    @IBOutlet var pinResetButton: UIButton!
    @IBOutlet var closeButton: UIBarButtonItem?
    @IBOutlet var accountBlockedTitle: UILabel?
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        setupPincodeScreenDifferentlyWithText(NSLocalizedString("change-pin", comment: ""), headerTitleLabelText: nil, errorLabelText: NSLocalizedString("settings_current_pin_message", comment: ""), infoLabelText: NSLocalizedString("settings_current_pin", comment: ""), avtarImageName: R.image.icnSecure)
    }
    
    override func viewWillAppear(animated: Bool) {
        super.viewWillAppear(animated)
        let tracker = GAI.sharedInstance().defaultTracker
