add undo setting & move backup directory