private void parseWorker_DoWork(object sender, DoWorkEventArgs e)
        {
            //Refresh the listView.
            this.Dispatcher.Invoke((Action) delegate
            {
                _docItems.Clear();
            });

            try
            {
                //Retrieve information from the feed.
                parser.parse();

                //Save the settings here (only if no error from parser.parse()).
                if ((bool)e.Argument)
                {
                    Properties.Settings.Default.Save();
                }
            }
            catch (Exception)
            {
                this.Dispatcher.Invoke((Action) delegate
                {
                    //Clear the input fields.
                    tb_accountName.Text  = "";
                    tb_password.Password = "";

                    //Show the login page.
                    gb_loginPage.Visibility = Visibility.Visible;

                    //Stop the timer.
                    timerChecker.Stop();

                    //Show the error message.
                    lb_messageLabel.Content = "Unable to access Google server. Please try again.";
                });
            }
        }