Modify Alarm Msg Method

Modify Alarm Msg Method, and Format main.c