Measure Dispensed Water, repeat with push button

Thanks for the feed back, I edited the above to include more info. Basically, I am looking to repeat the loop function in the program via a pushbutton instead of the delay line that is currently there.