Change, run the command only once, per state change