This method is called when the field's selected state has changed and the UI needs to be updated to display the correct value.
public void selectedStateChanged (boolean selected)