I simple upgraded the project from version 5.21 to 6.1.0 and the problem disappeared.
This could be a custom widget that does not work properly on the device. Did you update your widgets?
You could try eliminating custom widgets until it works.
If this breaks your project, try the other way around: Create a new project and add the widgets one by one until it breaks.