False error concerning internet availability

After selecting Avast Cleanup to delete files, I get the message that it doesn’t have access to the internet. but it does, How do I fix this?