fix(codelab): Change dependency injection for local storage example