Everything works fine in my app but when I press the back button (I mean exit app) the app is crashing. And I don't know why? I tried a couple of solutions but nothing works. It's a sounds/ringtones application.
Here my code
And this is my error logs.
How should I resolve this error? Any help would be great. Thanks.