[FEATURE] Save and restore last selected node

save and restore last selected node:

__Tasks:__

- [ ] gather feedback for my changes


__Informations:__

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| Tests pass?   | yes
| Fixed tickets | none
| Doc           | none