Added activity counter
Improved the way registration id caching is done

Only set registration id if registration with own server is successful
Comments