Avoid NullPointerExc if theme doesn't have an ActionBar

App crashed (NullPointerException) when activity theme was set to Theme.Holo.Dialog.NoActionBar
Merge branch 'pr-10'

Close #10