Finished implementation of ApplicationStateViewModelRepository.