creating calendar and getting calendars from local device