add application bar for main page

create commands for refresh and for open settings page