Added functionality for exportToIcal