Avast can clean up your browser add-ons. That's great, but if you have a search box, it then gives you two choices of search engines, and neither is google. So now it's changing your search engine.
Not above board. Not nice.
Suggestion: turn off the browser cleanup, or install it without the browser cleanup.