Fixed code so that GMF now works with IMA SDK beta 7

Fixes issue #49 
should be indented x2