added state flag to reminders