Fix display of "prev" and "next" action bar items after rotating the screen