Updated the preferences UI.