Bug 829562 - Clean up alarm logic in calendar.