Use cache for app_id can be problematic. What if I want to update another app which is not the app id in the cache? Maybe cache both app name and app id, then ask confirmation by the app name to proceed.