restore state of the button on delete