Implemented phonegap features and google analytics