Reset recurring alarms, fix calculating recurring event alarms, cleanup