Don't load data if it's not an active page.
have a button that says to stop loading.
The button to request power from a specific date should do the following:
Activates a script to retrieve data from a MySQL database and make that the current JSON file.
Then, it reloads the table.
But, I have no idea how to program that yet.