Check Mark code not working

Hi There,
I'm recently creating an app for my company which has to be completed tomorrow, When i was checking the code.

The "Check" button wasnt working.I wanted it to change green when It is checked and if not, Red.
And for specific progress check marks. To change the text.