Fixed TypeScript module and class declarations for UserPreferenceSettings.ts