     private var shape: CAShapeLayer! = CAShapeLayer()
     private var radius: CGFloat = 0.0
     private var oldState = false
+  
+    private let defaultTintColor = UIColor.greenColor()
   
     override public var on: Bool {
         didSet(oldValue) {

    
    
    private func commonInit(parentView: UIView?) {
        let shapeColor: UIColor = onTintColor ?? UIColor.greenColor()
        
        layer.borderWidth = 0.5
        layer.borderColor = UIColor.whiteColor().CGColor;

            return;
        }
        oldState = on
     
      let shapeColor: UIColor = onTintColor ?? defaultTintColor
      shape.fillColor = shapeColor.CGColor
      
        if on {
            CATransaction.begin()
