Added loaded event which is triggered after tab is displayed