Added return of the calendar value to an activity