Adds shown event handler as starting point for rendering table first time