     
     static public var showBankDeals = true
     
-    var inputButtons : UINavigationBar?
+    var toolbar : UIToolbar?
     var errorLabel : MPLabel?
     
     var navItem : UINavigationItem?

    func hideErrorMessage(){
        self.textBox.borderInactiveColor = UIColor(netHex: 0x3F9FDA)
        self.textBox.borderActiveColor = UIColor(netHex: 0x3F9FDA)
        self.textBox.inputAccessoryView = self.inputButtons
        self.textBox.setNeedsDisplay()
        self.textBox.resignFirstResponder()
        self.textBox.becomeFirstResponder()

    }
    
    func setupInputAccessoryView() {
        let frame =  CGRect(x: 0, y: 0, width: UIScreen.main.bounds.size.width, height: 44)
        let toolbar = UIToolbar(frame: frame)
        
        toolbar.barStyle = UIBarStyle.default;
        toolbar.backgroundColor = UIColor(netHex: 0xEEEEEE);
        toolbar.alpha = 1;
        toolbar.isUserInteractionEnabled = true
        
        let buttonNext = UIBarButtonItem(title: "Continuar".localized, style: .done, target: self, action: #selector(CardFormViewController.rightArrowKeyTapped))
        let buttonPrev = UIBarButtonItem(title: "Anterior".localized, style: .plain, target: self, action: #selector(CardFormViewController.leftArrowKeyTapped))
        
        
        if let font = UIFont(name:MercadoPago.DEFAULT_FONT_NAME, size: 14) {
            buttonNext.setTitleTextAttributes([NSFontAttributeName: font], for: .normal)
            buttonPrev.setTitleTextAttributes([NSFontAttributeName: font], for: .normal)
        }
        buttonNext.setTitlePositionAdjustment(UIOffset(horizontal: UIScreen.main.bounds.size.width / 8, vertical: 0), for: UIBarMetrics.default)
        buttonPrev.setTitlePositionAdjustment(UIOffset(horizontal: -UIScreen.main.bounds.size.width / 8, vertical: 0), for: UIBarMetrics.default)
        
        doneNext = buttonNext
        donePrev = buttonPrev
        
        let flexibleSpace = UIBarButtonItem(barButtonSystemItem: .flexibleSpace, target: nil, action: nil);
        
        toolbar.items = [flexibleSpace, donePrev!, flexibleSpace, doneNext!, flexibleSpace]
        if self.cardFormManager.customerCard != nil || self.cardFormManager.token != nil{
            navItem!.leftBarButtonItem?.isEnabled = false
        }
        
        textBox.delegate = self
        self.toolbar = toolbar
        textBox.inputAccessoryView = toolbar
        
        
        
    }
    
    func showErrorMessage(_ errorMessage:String){
        
        errorLabel = MPLabel(frame: toolbar!.frame)
        self.errorLabel!.backgroundColor = UIColor(netHex: 0xEEEEEE)
        self.errorLabel!.textColor = UIColor(netHex: 0xf04449)
        self.errorLabel!.text = errorMessage
