Hi Michaela,
in Avast application go to Settings → Passwords. Find a Firefox icon in Browsers section and click on “Install”. It should help.
Let me know if it worked, please.