fix task running state uncheck issue in sensor activity