private void RestorePreviousValue()
 {
     originator.GetStateFromMemento(caretaker.GetMementoAtIndex(currentStep));
     TotalTextBox.Text = originator.GetState().ToString();
     currentStep--;
 }