fixing bugs

2.fix the logic of Alarm sequence,and make the notification and toast
showing correctly.
The real multiple ringring Alarm is still need to be tested