I remember once that when I turn off my sound on setting it's turn back on after I log in again to play my game. But, it turn off after I progressing further.
But I thought if you failed a level, you still earn coins depending on your streak in that failed level? Don't forget that you also have a gold coin card level as bonus level.