private void AddRepository()
        {
            var configurationElement = new RepositoryConfigurationElement()
            {
                Name    = SelectedRepository,
                Enabled = true
            };

            Repositories.Add(new RepositoryViewModel(configurationElement));
            AvailableRepositories.Remove(SelectedRepository);

            _configuration.AddRepository(configurationElement);
        }