activate alarm just in time