function updateUIFromOnChange(settings) {
  console.log('pref.onChange event:' + JSON.stringify(settings));
  updateUI(settings);
}
Wrapper for |updateUI| which is used as handler for the |onchange| event
and which logs the result.

@param settings{object} A settings object, as returned from the |onchange|
event.