reading the application state from the correct cache.