Add onShow method