Add ActionBar items and fix a bug with appcompat actionbar