fixed price checking and added refresh button for pie chart