Renamed resetFruitTally() function to resetTally() in main.js