Feeback delayed one trial

Hi! I am looking for some help on the feedback of ‘correct’ and ‘incorrect’ being displayed following the selection of a picture. I have most of the code written and it is working well, except ‘correct’ and ‘incorrect’ is delayed one trial (i.e., I select an answer, no message is displayed when I select the next answer, feedback for the previous trial is displayed).

Here is the code for the trials being presented


Here is the excel workbook

Here is the code for the message

Here is the code for changing the message to correct or incorrect

Excel workbook