Add the latest stat data to the stat page

When retrieving stat data from the backend, we also need to generate the latest stat data and show it on the stat tab page.

We can consider remove the 'create stat' button after this patch is merged, as the latest stat data will be always retrieved and displayed in the table