added alert for cancel and kMinutesAhead for time