         }
     }
     
-    @IBInspectable var buttonTextColor: UIColor = UIColor.whiteColor() {
-        didSet{
-            setStyle()
-        }
-    }
-    
-    @IBInspectable var dragPointTextColor: UIColor = UIColor.whiteColor() {
-        didSet{
-            setStyle()
-        }
-    }
-    
-    @IBInspectable var buttonUnlockedTextColor: UIColor = UIColor.whiteColor() {
+    @IBInspectable var buttonTextColor: UIColor = UIColor.white {
+        didSet{
+            setStyle()
+        }
+    }
+    
+    @IBInspectable var dragPointTextColor: UIColor = UIColor.white {
+        didSet{
+            setStyle()
+        }
+    }
+    
+    @IBInspectable var buttonUnlockedTextColor: UIColor = UIColor.white {
         didSet{
             setStyle()
         }

            }
            
            let animationDuration:Double = abs(Double(velocityX) * 0.0002) + 0.2
            UIView.transitionWithView(self, duration: animationDuration, options: UIViewAnimationOptions.CurveEaseOut, animations: {
                }, completion: { (Status) in
                    if Status{
                        self.animationFinished()

        
        self.backgroundColor              = self.buttonColor
        
        self.dragPoint                    = UIView(frame: CGRect(x: dragPointWidth - self.frame.size.width, y: 0, width: self.frame.size.width, height: self.frame.size.height))
        self.dragPoint.backgroundColor    = dragPointColor
        self.dragPoint.layer.cornerRadius = buttonCornerRadius
        self.addSubview(self.dragPoint)
        
        if !self.buttonText.isEmpty{
            
            self.buttonLabel               = UILabel(frame: CGRect(x: 0, y: 0, width: self.frame.size.width, height: self.frame.size.height))
            self.buttonLabel.textAlignment = .center
            self.buttonLabel.text          = buttonText
            self.buttonLabel.textColor     = UIColor.white
            self.buttonLabel.font          = self.buttonFont
            self.buttonLabel.textColor     = self.buttonTextColor
            self.addSubview(self.buttonLabel)
            
            self.dragPointButtonLabel               = UILabel(frame: CGRect(x: 0, y: 0, width: self.frame.size.width, height: self.frame.size.height))
            self.dragPointButtonLabel.textAlignment = .center
            self.dragPointButtonLabel.text          = buttonText
            self.dragPointButtonLabel.textColor     = UIColor.white
            self.dragPointButtonLabel.font          = self.buttonFont
            self.dragPointButtonLabel.textColor     = self.dragPointTextColor
            self.dragPoint.addSubview(self.dragPointButtonLabel)
        }
        self.bringSubview(toFront: self.dragPoint)
        
        if self.imageName != UIImage(){
            self.imageView = UIImageView(frame: CGRect(x: self.frame.size.width - dragPointWidth, y: 0, width: self.dragPointWidth, height: self.frame.size.height))
            self.imageView.contentMode = .center
            self.imageView.image = self.imageName
            self.dragPoint.addSubview(self.imageView)
        }
