Update Tip Calculator

Used new variable instead of redefining the original one.