Homework2 fixed the textfield bug

the button now is enabled only if both text fields are not empty.