`setPrefs` seems like the wrong name for this, maybe `updateUIFromPrefs`?