Fixed navbar layer button behavior

Bug: If Layers showing, selecting a new legend did not unhighlight the
“Layers” button