Change css classes representing state to is-foobar