Added calendar event when adding activities.