Fixes prefs API: No more duplicate records, many data keys possible. (stupid if/else bug)