This way we can easily give the button state of disabled, rather than just style it as disabled button.