add the buttons for controlling the display screen and modify ChartPanel
and Barchart classes