Added function to selector that allows to change the routing mode (static or dijkstra)