Go to History tab and click in the previous steps to change the layers settings. Sometimes I use Flatten Image several times in the same action, in this case you will need to deselect this option in action setting if you want make changes in all layers.