The value of the switch is in the variable lED, it can be read and written like a boolean (true or false)
Test with something like this:
// add in setup() : pinMode( LED_BUILTIN, OUTPUT );
void onLEDChange()
{
digitalWrite( LED_BUILTIN, lED == true ? HIGH : LOW );
}