If Activity_Create is executed this means that the app was not running, the process (your app) was killed by the O.S. - "has stopped", as you wrote.
Your code is not correct, mainly because you souldn't call B4XPage_Created (also, this event routine will and should/must receive a Panel, Root).
You should hardly ever touch the code in the Activity Main, when using the B4XPages, except in rare cases (and this is not one of them).
What you should do is use a service, put the sound part into it and try to make it survive (see:
https://www.b4x.com/android/forum/threads/background-location-tracking.99873/)