The History panel only shows the states for the operations you made during the current working session. If you want to return to the last state, you can click on it.
If you save your work as a cloud document, then you can use the Version History panel.
Or you could also use Lightroom and non-destructively save various versions of settings that you apply to your photos.