Binding button text and state to model.