mode display in action bar works