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

        }
        urlBar.currentURL = url
        urlBar.leaveOverlayMode()
    }
    
}

        }
    }
    
    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,
