void (String backgroundPropertyKey) { PropertiesComponent propertyManager = PropertiesComponent.getInstance(); String value = propertyManager.getValue("old." + backgroundPropertyKey); propertyManager.unsetValue("old." + backgroundPropertyKey); if (value != null) { propertyManager.setValue(backgroundPropertyKey, value); } else if (!theme.getBackground().isEmpty()) { propertyManager.unsetValue(backgroundPropertyKey); } }