fix the issue of inconsistent status icon of the flashlight