Reorganized saveSettings() in preparation for upcoming changes.
Reorganized saveSettings() in preparation for upcoming changes.

vanderbilt/redcap-external-modules,vanderbilt/redcap-external-modules,vanderbilt/redcap-external-modules