Fix a bug with split action bars and orientation changes. Change-Id: If067803281c6ac23b51da5bf075fdf1be28afdc2