Use new swatch code in preferences. [1765]

This adds the new “persistable” color swatch code to the “Display
Window” preferences.