Refine list/map switching on main page and add switch action bar feature