Add food button functionality and tab calculations