ActionBar SearchView. Need to fix bugs on transitioning between search view and main activity