Create preferences.json