         frame.origin.x += self.frame.origin.x
         frame.origin.y += self.frame.origin.y
         
-        if isSelected() {
+        if isSelected {
             context.setFillColor(UIColor.black.cgColor)
         }
         else {

    open var pushButton: Bool = false
    open var name: String = ""
    open var exportValue: String = ""
    
    fileprivate var button: UIButton = UIButton(type: .custom)
    fileprivate let inset: CGFloat = 0.8

        }
    }
    
    func buttonPressed() {
        
        self.value = (isSelected ? "" : exportValue) as AnyObject?
        self.delegate?.formFieldValueChanged(self)
    }
    
