saving work before re-generating app