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

	
	func isReady() {
		javaScriptBridge.setDefaultSearchEngine()
	}

}

		}

		javaScriptBridge.setDefaultSearchEngine()
		self.updateExtensionPreferences()
	}

    override func viewWillDisappear(animated: Bool) {
		super.viewWillDisappear(animated)
