nodeSelectedMode() has corret color behavior (mostly). Work on reducing mode function redundancy