began implementing memento pattern for undoing dispay state change