Phonegap plugin for android updated to make it consistent with ios plugin