Added listener to auto-update the data displayed in the report whenever
the tab is selected.