Maybe you should try to change the storage path of your phone, from the native storage to the SD card, maybe this can avoid the loss of your music, because don't interfieres in the power off, so in the last case you should try to reinstall the app.
If you are swapping the sim, I would guess that spotify sees this as a new device and removes access to downloads. I don't think there's anything you can do about this I'm afraid.