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

    private var shape: CAShapeLayer! = CAShapeLayer()
    private var radius: CGFloat = 0.0
    private var oldState = false
  
    override public var on: Bool {
        didSet(oldValue) {

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