private void ApplicationBarCreate()
        {
            ApplicationBar = mainApplicationBar;
            mainApplicationBar.IsVisible = true;
            updateAllIconButton.IsEnabled = false;
            updateNewsIconButton.IsEnabled = false;

            updateNewsIconButton.Click += updateNewsIconButon_Click;

            updateAllIconButton.Click += new EventHandler(updateAllIconButton_Click);

            addProjectIconButton.Click += new EventHandler(addProjectIconButton_Click);

            filterButton.Click += (sender, e) =>
            {
                NavigationService.Navigate(Utils.FilterOptionsPage());
            };

            aboutMenuItem.Text = "about";
            aboutMenuItem.Click += (sender, e) =>
            {
                NavigationService.Navigate(Utils.AboutPage());
            };

            logoutMenuItem.Text = "logout";
            logoutMenuItem.Click += (sender, e) =>
            {
                TodoistService todoistService = new TodoistService();

                todoistService.cancel();

                app.loginInfo = null;
                app.localLoginInfo.isRecorded = false;
                app.localLoginInfo.email = app.localLoginInfo.password = null;

                if (app.projects != null)
                    app.projects.Clear();

                if (app.startPageTasks != null)
                    app.startPageTasks.Clear();

                if (app.TemporaryDesynchronized != null)
                    app.TemporaryDesynchronized.Clear();

                GeneralLib.IsolatedStorage.clear();

                NavigationService.Navigate(Utils.LoginPage());
            };

            syncButton.IsEnabled = false;
            syncButton.Click += new EventHandler(syncButton_Click);

            mainApplicationBar.MenuItems.Add(logoutMenuItem);
            mainApplicationBar.MenuItems.Add(aboutMenuItem);
        }