Added regenerate function
Added editing for myapps
Added save and cancel buttons to apps