fixed bugs in scheduling and synchronizing reminders