Fixing settings loading/updating alarm bug