Made sure we redraw the chart whenever the list changes