getAlarm in GUI