added persistent undo configuration