process state button