This is code for a button, but when it is checked it should print "checked" but everytime I press it, it logs "not checked" no matter the status of the b