Fix the error that not putting non-default app manager in cache at initialization