Add pie view. Implement logic related with pie view.