Adds calculate_total button functionality. Most functions in web.clj now private.