private void addRepository(TaskRepository repository) {
    myRepositories.add(repository);
    getListModel().add(repository);
    addRepositoryEditor(repository);
    myRepositoriesList.setSelectedIndex(myRepositoriesList.getModel().getSize() - 1);
  }
private void addRepository(TaskRepository repository)