Extracted classes ChangeUndoRedoSupporter and ChangeStateView.