Update UI when a prefpane is loaded