Preferences dialog added