private void setPreferedModel(Options options) {

		// Set active subroutine block model using option selection
		preferedSubroutineModeName = options.getString(SUB_OPTION, selectedSubroutineModelName);
		if (activeSubroutineModel == null ||
			!activeSubroutineModel.modelName.equals(preferedSubroutineModeName)) {
			activeSubroutineModel = subroutineModelsByName.get(preferedSubroutineModeName);
		}
	}
Handle an option change
@param newOptions options object containing the property that changed
@param optionName name of option that changed
@param oldValue old value of the option
@param newValue new value of the option
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/blockmodel/BlockModelServicePlugin.java