     }
     
     @objc public func setActive(active: Bool, animated: Bool) {
-        self.animateFill(active, animated: animated)
-        var animateText = animated && animateTextChange
-        updateLabel(animateTextChange)
+        animateEnabled = animated
+        self.active = active
+        animateEnabled = true
+
     }
     
     override public func beginTrackingWithTouch(touch: UITouch, withEvent event: UIEvent) -> Bool {

        setupLayers()
    }
    
    func toggle() {
        active = !active
    }
    

    }
    @IBInspectable var animateTextChange: Bool = true
    
    var animateEnabled: Bool = true
    @objc public var active: Bool = false {
        didSet {
            self.animateFill(active, animated: animateEnabled)
            updateLabel(animateTextChange && animateEnabled)
        }
    }
    
