Updated getActivityByAvailabilityId