Add exchange button for shortest path frontend.