     open var emojiName: String?
     
     open var keyboardImage: UIImage? {
-        get { return image(for: UIControlState.normal) }
-        set { setImage(newValue, for: UIControlState.normal) }
+        get { return image(for: .normal) }
+        set { setImage(newValue, for: .normal) }
     }
     
     open var operation: KeyboardOperation?

        let button = KeyboardButton(type: .custom)
        button.operation = .emoji
        button.emojiName = emojiName
        
        
        
        UIImage.async(named: imageName) { image in
            button.keyboardImage = image
        }
        return button
    }
    
    open class func new(withOperation operation: KeyboardOperation, title: String) -> KeyboardButton {
        let button = KeyboardButton(type: .custom)
        button.operation = operation
        button.setTitle(title, for: UIControlState())
        return button
    }
    

        let button = KeyboardButton(type: .custom)
        button.operation = .character
        button.character = character
        button.setTitle(character, for: .normal)
        return button
    }
    
