add state button setting