Using a variable when Shortcut g+h is used

Let’s say I got 2 Dashbaord. 1 is my Home dashboard which is just a quick overview and the other one is my Detail dashboard.
Now, I defined the same datasource variable on both dashboards.
To change to the Detail dashboard, I use a Singlestat which linked the Detail dashboard so there is no problem that I can hand over the datasource variable.
But now when I want to change back to the Home dashboard with the shortcut “g+h” the variable won’t be the same as on the Detail dashboard anymore.
Is there a way to pass the variable from the Detail dashboard to the Home dashboard with the shortcut “g+h”?