Make sure Avast (or its Alias) has been granted superuser rights.

In the web interface settings check that your ‘Automaticaly enable GPS’ is checked. If that is already checked, you could try un-checking the ‘Hide GPS icon’. With some android devices it causes a crash in location services.