avoid error when tapping the icon on action bar