KWGT and KLWP stuck on splash screen after a while

Hi, I have a oneplus 7 with a custom rom (KOSP - android 12).

I have downloaded KWGT, set up my widget and everything is working fine. After some time (some hours) the widget stops updating and when I try to open the app it get stuck on its splash screen. Rebooting the phone doesn't help. The only way to solve is to uninstall and then reinstall the app, but after some hours it gets stuck on the splash screen again.

This happens with KLWP too. Same issue.