Make PreferencesWidgets capable of updating themselves when a hook is called.