Made flashLED non-blocking