buttons in legend