removed the polygonButton class