String oldPrefix = fromSettings.getPrefixSettings().getIRIPrefix();
String newPrefix = toSettings.getPrefixSettings().getIRIPrefix();
if(!oldPrefix.equals(newPrefix)) {
MessageBox.showYesNoConfirmBox("Find and replace prefix?", "You changed the IRI prefix for new entities from <span style=\"font-weight:bold;\">" + oldPrefix + "</span> to <span style=\"font-weight:bold;\">" + newPrefix + "</span>. " +
"<br><br>Do you want to find and <span style=\"font-weight:bold;\">replace existing occurrences</span> of the previous prefix with the new prefix?"
, new YesNoHandler() {
@Override
public void handleYes() {
updateFreshEntitySettingsWithStrategy(fromSettings, toSettings, closer, IRIPrefixUpdateStrategy.FIND_AND_REPLACE);
}