changed items in appbar, instead of being button to menu item
method that support all section in mainview
changed appbar items