     open var pushButton: Bool = false
     open var name: String = ""
     open var exportValue: String = ""
+    
+    var isSelected: Bool {
+        if let value = self.value as? String {
+            return value == exportValue
+        }
+        return false
+    }
     
     fileprivate var button: UIButton = UIButton(type: .custom)
     fileprivate let inset: CGFloat = 0.8

        }
    }
    
    func isSelected() -> Bool {
        if let value = self.value as? String {
            return value == exportValue
        }
        return false
    }
    
    func buttonPressed() {
        
        self.value = (isSelected() ? "" : exportValue) as AnyObject?
        self.delegate?.formFieldValueChanged(self)
    }
    

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