Rectified working of refresh button
generateStats() the data for
stats where not getting fetched from chrome local storage and thus latest values of these variables were not able to show up on the statistics page even after clicking on refresh button.
This Merge Request solves that problem.
A video of present functioning is attached below.