Onclick handlers are added to action bar items