Fixed Enabling button when Checkbox is checked Bug. Variable had to be scoped to the requiredIsEmpty() function