There can be a scenario when we would like to execute certain queries only when we're on my_screen_3
.
For now, what I did is;
- Created a variable called
current_screen
- On
load
of each screen, manually set the variablecurrent_screen
to whatever name I gave to the screen that's being loaded/opened