Fix adding new pie chart error.
Remove some unnecessary pie ctrl and chart code.