 	
 	func isReady() {
 		javaScriptBridge.setDefaultSearchEngine()
+		self.updateExtensionPreferences()
 	}
 
 }

    func updatePrivateMode(privateMode: Bool) {
        if privateMode != self.privateMode {
            self.privateMode = privateMode
            updatePrivateModePreferences()
        }
    }
    

		self.spinnerView.stopAnimating()
	}
	
	private func updateExtensionPreferences() {
		let isBlocked = self.profile.prefs.boolForKey("blockContent") ?? true
		let params = ["adultContentFilter" : isBlocked ? "moderate" : "liberal",
		              "incognito" : self.privateMode]
		javaScriptBridge.callJSMethod("jsAPI.setClientPreferences", parameter: params, completionHandler: nil)
	}

    //MARK: - Reset TopSites
    func showBlockedTopSites(notification: NSNotification) {
        javaScriptBridge.callJSMethod("jsAPI.restoreBlockedTopSites", parameter: nil, completionHandler: nil)
