ActivityWatch makes Notebook restart after shutdown

I have a very strange behaviour with activitywatch and a asus vivobook.
After installing it I was not able to shut down the notebook anymore. When I shut down windows it turns of and after 3 seconds starts up again and boots windows again. When I log out with the user first and then shut down from the login screen it seems to work.
I really could nail it down to ActivityWatch running because when I’m logged in and first close ActivityWatch via Taskbar Icon and then directly do a windows shut down it goes down and does not restart. But when AW is running while doing shutdown direclty it somehow writes something somewhere that makes the notebook restart after power down.

Any idea what that might could be?