MediaPlayer crash fix

Based on this thread

http://stackoverflow.com/questions/18224097/android-mediaplayer-nullpointerexception/20468129#20468129