Various fixes for build script

including upgrade to newer play services version and testing gradle
build resources
Prevent back form playing activity