Extended DeleteApp() with DeleteAppInternal()