Added preferences integration to settings.