     
     public func setStyle(_ style: HUDStyle, animated: Bool) {
        
-        self.style = style
-        startDismissTimer()
-//        
-//        let animatingTime = HUDAppearance_new.animateInTime
-//        
-//        UIView.animate(withDuration: animatingTime, delay: 0, options: .curveEaseInOut, animations: {
-//            self.stackView.alpha = 0
-//        }) { (isSuccess) in
-//            self.style = style
-//        }
-//        
-//        UIView.animate(withDuration: animatingTime, delay: animatingTime + 0.3, options: .curveEaseInOut, animations: {
-//            self.stackView.alpha = 1
-//        })
-//        
-        
-//        UIView.animate(withDuration: HUDAppearance_new.animateInTime, animations: {
-//
-//            self.stackView.alpha = 0.0
-//
-//        }) { (_) in
-//
-//            self.style = style
-//
-//            UIView.animate(withDuration: HUDAppearance_new.animateInTime, animations: {
-//
-//                 self.stackView.alpha = 1.0
-//            })
-//        }
-        
-        
-//        if animated {
-//            UIView.animate(withDuration: HUDAppearance_new.animateInTime) {
-//                self.style = style
-//            }
-//        } else {
-//            self.style = style
-//        }
+        // Not animated
+        if animated == false {
+            self.style = style
+            startDismissTimer()
+            return
+        }
+        
+        // Animated
+        let animatingTime = HUDAppearance_new.animateInTime
+        
+        UIView.animate(withDuration: animatingTime, delay: 0, options: .curveEaseInOut, animations: {
+            self.stackView.alpha = 0
+        }) { (isSuccess) in
+            self.style = style
+            self.startDismissTimer()
+        }
+        
+        UIView.animate(withDuration: animatingTime, delay: animatingTime + 0.3, options: .curveEaseInOut, animations: {
+            self.stackView.alpha = 1
+        })
     }
     
     public func setTitle(_ title: String?, animated: Bool) {

                case .standard:
                    break
                }
            }
        }
    }

            titleLabel.text = _title
        }
    }
    
    public override var title: String? {
        get {
            return _title
