removed unnecessary code from BrowseActivity