change divs to selects for single property select in piechart and barchart