improve BrowserActivity