The storeValue function doesnt seem to be working correctly.
I selected a table row which took me to the required page and stored the value as expected. When I then went back and selected a different row, the stored value was not updated.
Then, I added a JS fucjtion to the back button to set the stored value to undefined but that also had no effect, when I went back to the page, all of the previous details were still showing