Adds undo option