New helper function to detect network connectivity
New toast if no network connectivity on refresh