if app does not exist it will be removed from list