Oops, set stateChanged to true on change.