I2C how to stop a read help

I need help with I2C. Im sending a single byte from one Arduino, this byte activates a Switch Case statement. But instead of just toggling the led on and off it causes it to flash (the switch is being activated constantly)