Espalexa only one callback working

When I call the each voice commmands the ESP32 turn the white led on (callback firstLightChanged).

I did these testes:

I set the callback secondLightChanged to both commands and it worked turning the red led on.

I reversed the order of adding devices and now only the secondLightChanged callback is acting.


if (wifiConnected)
  {
    // Define your devices here.

    espalexa.addDevice(Device_2_Name, secondLightChanged);
    espalexa.addDevice(Device_1_Name, firstLightChanged); //simplest definition, default state off
    espalexa.begin();
  }