The naming is not good for me. What does the ``al`` mean here?  (It should be alarm. You could give more description via the naming.)
And the following scope change(save an edited alarm) is more complexly then before. I means the coding style.

@timdream 
Not sure you have any bandwidth to input some suggestion here.