Your data is stored in your library, which is securely encrypted and held on your cloud storage. This means that erasing any of your devices will not affect the contents of your library. 

To access the content of your library again, simply reinstall Then select 'I already have a library' when prompted at the start up screen. Afterwards you will need to login to your cloud and enter the password you set for your library.