NEED TO FIX -- added memory test error prompt

I tried to add an error prompt when an answer is either not selected or
wrongly selected in the memory test, but it's not working:
sometimes it's right, sometimes it's not proceeding, sometimes it
proceeds at wrong ansqer, etc.