The effects of the magnetopolaron on the energy gap opening in graphene