Determing the correctness of the answer from the GUI