public ApplicationManager(IStateRepository repository) { _repository = repository; Settings = new CandySettings(); }