LED view selection should have no effect if not in per-LED mode
If the current mode supports both mode-specific and per-LED colors but is currently set to use mode-specific colors, then the LED view selection is still visible. In this case, we should not modify the index of ui->LEDBox when the LED view is clicked; doing so causes the index to be invalid, which then can cause a segfault if a new color is selected, since colorChanged tries to assign to color[index] for the current mode.