Fix bug that prevented action bar title from updating correctly.