/// <summary>
        /// Handles the Click event of the UpdateDatabase control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param>
        public void UpdateDatabaseClick(object sender = null, RoutedEventArgs e = null)
        {
            _statusTimer.Stop();

            UpdateDatabase.IsEnabled = false;

            var updater = new Updater();

            updater.UpdateProgressChanged += UpdateProgressChanged;
            updater.UpdateDone            += UpdateDone;
            updater.UpdateError           += UpdateError;

            updater.UpdateAsync();
        }