add nsuserdefaults store alarmArray and add switch to control notification.