fix #42061: fix crash due to old preference setting

Fixes crash after "Cannot read file :/data/My_First_Score.mscx:Unknown
error"
Merge pull request #1576 from Jojo-Schmitz/crash-on-start

fix #42061: fix crash due to old preference setting