Addressing issue with not useful error message
Adding a call to update the button state
This should do the trick