toolbar initialization refactorings