         }
         urlBar.currentURL = url
         urlBar.leaveOverlayMode()
+		self.switchToSearchMode = false
     }
     
 }

    }

    private func showSearchController() {
        if searchController == nil {
//			let isPrivate = tabManager.selectedTab?.isPrivate ?? false
            searchController = CliqzSearchViewController(profile: self.profile)

//            self.searchController = nil
			searchController.view.hidden = true
            homePanelController?.view?.hidden = false
        }
    }

