Invert button states.