After update to MacOS to 13.2 previews are not showing correct view

Two days ago I have updated my mac to MacOS 13.2, I have installed 14.2 from before and I also updated my iPhone to 16.3. After all updates I tried to use SwiftUI preview of a view in Xcode, but instead of proper view (the one from the code) whole app runs in preview like I would run it on simulator. Currently I cannot preview any view. Is there any workaround to stop this from happening?

Looks like the fault is in AppDelegate where we added some delay on app startup so local DB can finish up deleting obsolete data. With no delay in AppDelegate previews are working ok. A bit strange that AppDelegate affects SwiftUI previews.

After update to MacOS to 13.2 previews are not showing correct view
 
 
Q