Fix action bar items so it works with actionbar compat.