Call the rebuildSelectors() function to change menus dynamically.

This is demonstrated by jsrt, update the state and the color menu changes.
If this gives you any grief at all, then comment out the call
to rebuildSelectors() in html.cpp.