Fixed bugs in GCM configuration. GCM messages are now successfully delivered and payload gets successfully extracted