NullPointer bug fix proposal

I costantly receive this report on my app bug trace:

NullPointerException (@RichMediaActivity:onDestroy:928) {main}

Hopefully this will fix this bug.
Merge pull request #10 from belandsoft/patch-2

NullPointer bug fix proposal