At some point I though this button "Next station" was doing it and tried to hover over one of the other stations, but this button did not appear there. This would be the easiest implementation: Hover over any station, the button "Next station" appears, player presses button and train changes route.