fix(userPreferencesModal): fix bug that broke functionality of user preferences modal

Closes #274
Merge pull request #278 from ozone-development/issue-274-add-dashboard-bug

fix(userPreferencesModal): fix bug that broke functionality of user pref...