     }
 
     func updateViewsForOverlayModeAndToolbarChanges() {
-		// Cliqz: Commented out cancelButton as we've removed it
-//        self.cancelButton.hidden = !inOverlayMode
+        self.cancelButton.hidden = !inOverlayMode
         self.progressBar.hidden = inOverlayMode
         if AppConstants.MOZ_MENU {
             self.menuButton.hidden = !self.toolbarIsShowing || inOverlayMode

            self.tabsButton.transform = CGAffineTransformIdentity
            // Cliqz: deleted cloned tabs button due to removing tabs button animation
//            self.clonedTabsButton?.transform = CGAffineTransformIdentity
			// Cliqz: Commented out cancelButton as we've removed it
//            self.cancelButton.transform = CGAffineTransformMakeTranslation(self.cancelButton.frame.width, 0)
            self.rightBarConstraint?.updateOffset(defaultRightOffset)

            // Shrink the editable text field back to the size of the location view before hiding it.

    func prepareOverlayAnimation() {
        // Make sure everything is showing during the transition (we'll hide it afterwards).
        self.bringSubviewToFront(self.locationContainer)
        self.cancelButton.hidden = false
        self.progressBar.hidden = false
        if AppConstants.MOZ_MENU {
            self.menuButton.hidden = !self.toolbarIsShowing
