Avoid NullPointerExc if theme doesn't have an ActionBar

App crashed (NullPointerException) when activity theme was set to Theme.Holo.Dialog.NoActionBar