Extended AddApp() with PurgeGlobalCache() call