Added immediate LEDs toggle function.