fix alarm edit + task function check_retry_alarm