Preferences dialog working
Datastore integration