synchronizing APN and GCM