Avast pops up at startup

Until 2 days ago, at windows startup, Avast (the free version) would just open minimized to tray. Now it also pops up on the screen and since I don’t want to press the X every time I open my PC, how can I solve this?

Try repair and reboot >> https://support.avast.com/en-ww/article/Repair-Antivirus

It worked. Thanks.