Can I add a tab specific button to the header?

Hi,

In my dashboard I have 10 "tabs" (rooms).
Each room has a "Refresh" button, that basically triggers some nodes in each flow to basically just manually update information I show for each room.
But this button looks kind of unhandy if it's inside my overview.
Is there a way to add this button to the header?

I know adding buttons to a header is a thing - and I found a hand full of threads about it solving this (although I have absolutely no idea how the mechanic behind it works).
But wouldn't that be a "general" button?
Is there a way to change the header individually for each tab?
A.k.a. a button that triggers an action depending on the tab I'm in?
Example: