Adding click callbacks and wiring tip calculator into ui.