fixed a bug where the light would go to standby (not off) even if no mode was requested