added according to the last update of alarm tasks

put a time lag when comparing ts_latest timestamp and last checked alarm time stamp so that the alarm can be fired eventhough the data is not updated in a very real time'