bug fix: first day of week preference not working after restarting the app