Created MainPage and ToolBar for widget varsion.