Clicking on the but will recalculate the duration values edited for each code within the appointment. The duration is calculated based on the duration indicated for the procedure code at Setup / Procedure Codes / Procedure Codes.
Here's an example of what happens when the recalculation is done.
Before Calc. Time
After Calc. Time