Adding call to reloadData from onHide event