Adding button states.