Try/catch statements and disabled buttons