if (!oldBean.isPresent()) {
Messages.showErrorDialog(selectedSonarServer.toString() + " is not more preset", "Cannot Perform Edit");
} else {
final SonarServerConfigurable dlg = showSonarServerConfigurableDialog(oldBean.get());
if (dlg.isOK()) {
SonarServerConfig newSonarConfigurationBean = dlg.toSonarServerConfigurationBean();
try {
SonarServers.remove(oldBean.get().getName());
SonarServers.add(newSonarConfigurationBean);
mySonarServersComboBox.removeItem(selectedSonarServer);
mySonarServersComboBox.addItem(makeObj(newSonarConfigurationBean.getName()));