Simple code formatting updates
Removed duplicate code using 'preferencesModuleName + ".blah"'