Hello! Avast for Mac is not a trial, it is completely free! I suggest you re download the installer here: https://www.avast.com/mac
Run the removal tool if necessary then reinstall and let us know if its working.