private void updateButton_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         int x;
         if (!int.TryParse(updateCatalogTextBox.Text, out x))
         {
             throw new Exception("Please enter a value number to update the record.");
         }
         updater.AddOrSubtractCopies(x);
         Reset();
     }
     catch (Exception ex)
     {
         errorLabel.Content = ErrorHandler.InnermostExceptionMessage(ex);
     }
 }