Fixed bug on adding calendar.
Added RRULE lib "When" to source.