         loader.update()
         
         NotificationCenter.default.addObserver(loader, selector: #selector(loader.rotated(notification: )),
-                                               name: NSNotification.Name.UIDeviceOrientationDidChange,
-                                               object: nil)
+                                    name: NSNotification.Name.UIDeviceOrientationDidChange,
+                                    object: nil)
         
         let height : CGFloat = UIScreen.main.bounds.size.height
         let width : CGFloat = UIScreen.main.bounds.size.width

        if (self.animated) {
            UIView.animate(withDuration: 0.3, animations: { () -> Void in
                self.alpha = 1
            }, completion: { (finished) -> Void in
            });
        } else {
            self.alpha = 1

        if (self.animated) {
            UIView.animate(withDuration: 0.3, animations: { () -> Void in
                self.alpha = 0
                }, completion: { (finished) -> Void in
                    self.removeFromSuperview()
                    self.coverView?.removeFromSuperview()
                    self.loadingView?.stop()
            });
        } else {
            self.alpha = 0
