Replaced the calls to deprecated functions show/hidePageLoadingMsg