assign a unique return value for the cancel menu entry

the switch statement below already returns properly on any unhandled menu entry
Merge pull request #4664 from BevapDin/fix-cancel-wait

assign a unique return value for the cancel menu entry