Display a loadin icon when change the status of light.