added events that update tip and total when bill or the percentage segments are updated