void () { List<TaskRepository> newRepositories = ContainerUtil.map(myRepositories, TaskRepository::clone); myManager.setRepositories(newRepositories); myManager.updateIssues(null); RecentTaskRepositories.getInstance().addRepositories(myRepositories); }