Add foldenable to diff restore