before save filter set current status on app and make current apps api route work