Passing the EnvironmentIntegration to the PreferencesDialog