Minor fixes to alarm clock