}
if (isTestConfigButtonPressed()) return;
// Merge property configurations.
DataProvider dpDO = getDataProvider();
DataSet newDataSetConfigured = dpDO.getDataSet(); // Cached data set with properties configured (deserialized).
DataSet newDataSetNotConfigured = dpDO.refreshDataSet(); // New data set. No configuration applied to it's properties.
DataProperty[] properties = newDataSetConfigured.getProperties();
for (int i = 0; i < properties.length; i++) {
DataProperty configuredProperty = properties[i];
DataProperty notConfiguredProperty = newDataSetNotConfigured.getPropertyById(configuredProperty.getPropertyId());
Domain oldDomain = configuredProperty.getDomain();
if (!(oldDomain instanceof LabelDomain && ((LabelDomain) oldDomain).isConvertedFromNumeric())) {
configuredProperty.setDomain(notConfiguredProperty.getDomain());
}