Optimize Code for  Google Authorization using Google Play Services API