MAIN LOGIC FIXED
Added tip calculation view