Fixed issue where app would crash on alarm firing