added reset and animated pie chart