WP-3862 Adding code to initialize the currently selected table on page load