Attempt to fix HistorySessions crash bug after returning to the app;
also fix milliseconds in history sessionlist
Remove redundant dialog dismiss callback parameters
Check whether scramble is valid in dialog