toggle legend
initial extent button and change legend text for no legend