Replaced buttons with Spinners
Extracted executeLoadingChart method
Changes the chart dynamically according to the selected options
Replaced between the time and metric spinners