Set the corresponding value to 'isRoundTrip' attribute when 'Round Trip' or 'One way' buttons are pressed.