Added undo/redo history