change the interval from 500 to 1000
fix the alarm manager issue