1st Shift click hides all but the clicked layer.
2nd Restore previous state.
The feature is intended to only restore state when the shift click was done but there are some questions.
- What should happen after 1st click if user changes the visibility of many layers? should we save a different state? or recover the previous one?