Accounts: add a null check to getActionBar()