Added undo/redo (ctrl/command+z/y)