Don't switch to a different mode while the route is being calculated