Change getActionBar().setTitle() to setTitle()