It was getting more and more stubborn about switching. I pulled the rubber cover off the button and put a few drops of WD-40 into the switch. I operated the switch several times and it was better. A few days later it switches 100%.
I believe there was tarnish on the contacts as previously it was clicking as if mechanically OK but not changing the lighting mode.
Don in Austin