removed saveorexsiting resume function, changed views, made application handler