Added changing state button