Refactor the App Bar.