Before leaving the depot, the mechanic replaced the gear selector that kept sticking.