Passwords autofill does not stay on in Android

Hi,
Everytime I want to login a website on my phone, I first have to switch the autofill feature on in my phone settings. When I’m done and my phone goes into sleep mode, Avast autofill switches off as well. Is this the intention? I understand I have to re-enter the master password, when I log on again, but once I do that I would like the autofill feature to be on as well, without having to go to my phone settings every time to switch it back on.
Thank you.