Added code for checking if Google Play Service is available.