Button to edit a challenge and fixes to /editchallenge