How to edit a workout after it is finished

I had the tracker set to walk, but I rode my bicycle. So the distance is incorrect. How can I change/edit the distance?

You can change activity type in workout history but you can’t modify parameters.