updated reset-app function