add randomize button to the chart