WP7607 unwanted rollbacks

Probably this is due to improper power down sequence, you can see here:

Some solution can be putting important file to reserved partition:

Or you can build those your application together with legato.cwe

Or you can put important files together with yocto.cwe: