Fixed a bug - When an alarm is edited, the sorted list should be updated accordingly.