changing state colors