Change string 'state' to constant STATE