         }
     }
     
-    private func navigateToUrl(url: NSURL, searchQuery: String?){
+    private func navigateToUrl(url: NSURL, searchQuery: String?) {
         let query = (searchQuery != nil) ? searchQuery! : ""
         let forwardUrl = NSURL(string: "\(WebServer.sharedInstance.base)/cliqz/trampolineForward.html?url=\(url.absoluteString.encodeURL())&q=\(query.encodeURL())")
         if let tab = tabManager.selectedTab,

	private func switchToSearchModeIfNeeded() {
        if (self.switchToSearchMode) {
			self.urlBar.enterOverlayMode("", pasted: false)
			self.switchToSearchMode = false
            if let searchController = self.searchController {
                searchController.resetState()
            }

    }

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