When user presses 'I participated' button, their name and grade is retrieved from their stored account details. The database table is then changed to store the name of the participant and the grade. The number of participants is updated on the screen for everybody.