Fixed small display issue and changed to save pie chart data