How can I prevent my data from being deleted?

You have to reinstall the app to prevent your data from being deleted.