Implement settings. Render pie chart