Changed use of onRender to onShow.