Aded onShow callback