Refreshing dashboard on variable change

Hello, I’m using Grafana V11.3 in a windows OS,
I’m using the infinity plugin and I have a global variable for my dashboard.
I managed to make my dashboard change the data shown when I change the variable selected, The problem is I need to refresh in order to to see the data change.
What I’m doing now is auto refresh every 5s.
Is there a way to refresh the dashboard whenever I change the variable selected?
I tried to select the option ‘refresh on time range change’ and also ‘refresh on dashboard reload’ on variable settings and it still did not work.
Please be very discriptive, I’m new to grafana.
Thanks in advance!