Save the solution.
Use dependency injection to refactor the retrieval of app settings.