Since you do Wanikani on a phone, you should consider using a 3rd party app instead of the browser/web app. The 3rd party apps below have built in undo buttons.
Android:
- Smouldering Durtles
- Hakubun: Alpha version released
- Flaming Durtles: Unsupported (may or may not work properly with kana vocabulary)
Apple: