Preset selector works only on one mioXL

I have built a program in WebMIDI that sends program change to my first mioXL and mioXL preset selector. It works perfectly. But my second mioXL is not responding. Both are connected to my Mac. I have tried renaming the preset selector to different names but they seem to have the same name regardless. What can be wrong?

Edit: I just discovered that the first mioXL that starts up will work. If I start the second first it will work.

Edit: It works now. The problem was my WebMIDI code.