run.pref an dayPrefsDur also run in shiny session environment