Made the alarm work again