add the button undo and redo