Note: On page reload, time is set to wall-clock time, and alarm is set to wall-clock time + 10s.