     }
 
     private func bindContainerEvents() {
-        if let container = activeContainer {
-            listenTo(container,
-                     event: Event.enableMediaControl) { [weak self] _ in self?.show(animated: true) }
-            listenTo(container,
-                     event: Event.disableMediaControl) { [weak self] _ in self?.hide(animated: true) }
-        }
+        guard let container = activeContainer else { return }
+
+        listenTo(container, event: Event.enableMediaControl) { [weak self] _ in self?.show(animated: true) }
+        listenTo(container, event: Event.disableMediaControl) { [weak self] _ in self?.hide(animated: true) }
     }
 
     private func bindPlaybackEvents() {
-        if let playback = activePlayback {
-            listenTo(playback, event: .ready) { [weak self] _ in self?.controlsEnabled = true }
-            listenTo(playback, event: .error) { [weak self] _ in self?.controlsEnabled = false }
-            
-            listenToOnce(playback, event: .playing) { [weak self] _ in
-                self?.showIfAlwaysVisible()
-            }
-            listenTo(playback, event: .didPause) { [weak self] _ in self?.onPause() }
-            listenTo(playback, event: .didComplete) { [weak self] _ in self?.onComplete() }
-        }
+        guard let playback = activePlayback else { return }
+
+        listenTo(playback, event: .ready) { [weak self] _ in self?.controlsEnabled = true }
+        listenTo(playback, event: .error) { [weak self] _ in self?.controlsEnabled = false }
+
+        listenToOnce(playback, event: .playing) { [weak self] _ in
+            self?.showIfAlwaysVisible()
+        }
+
+        listenTo(playback, event: .didPause) { [weak self] _ in self?.onPause() }
+        listenTo(playback, event: .didComplete) { [weak self] _ in self?.onComplete() }
     }
 
     private func listenToFullscreenEvents(context: UIObject) {

        }

        listenTo(context, event: .didShowDrawerPlugin) { [weak self] _ in self?.onDrawerShowed() }

        listenTo(context, event: .didHideDrawerPlugin) { [weak self] _ in self?.onDrawerHidden() }
    }
    


    private func resetTimerOnPlay() {
        guard let playback = activePlayback else { return }

        listenToOnce(playback, event: .playing) { [weak self] _ in
            self?.disappearAfterSomeTime()
        }
