Index: trunk/src/org/openstreetmap/josm/data/Preferences.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/Preferences.java	(revision 1223)
+++ trunk/src/org/openstreetmap/josm/data/Preferences.java	(revision 1224)
@@ -187,5 +187,5 @@
         final TreeMap<String,String> all = new TreeMap<String,String>();
         for (final Entry<String,String> e : defaults.entrySet())
-            if (e.getKey().startsWith("color."))
+            if (e.getKey().startsWith("color.") && e.getValue() != null)
                 all.put(e.getKey().substring(6), e.getValue());
         for (final Entry<String,String> e : properties.entrySet())
@@ -238,6 +238,5 @@
                 properties.put(key, value);
             String s = defaults.get(key);
-            if(s == null || !s.equals(value))
-                save();
+            save();
             firePreferenceChanged(key, value);
             return true;
