Adding functions to get/set alarm mode, which I forgot