Fix for the testRestartProjectWithSound test

Final fix for the testRestartProjectWithSound test.

10 iterations of the StageDialogTest (including the testRestartProjectWithSound test):
http://catrobatgw.ist.tugraz.at:8080/job/Catroid-single-UI-test/478/