I think I found the issues. Even though avast says it's protecting, I went into settings and noticed that the first 5 components were turned off. I tried turning on but nothing happened except saying I had to restart. After restarting everything is correct. All shields on and avast shows on in windows security center.
Hopefully it will stay this way,
Thanks for your help.