Add functions to play an and stop an alarm.