Only catch the click event if creating contact through phonegap

Create vcard before render so we can write base64 string
HTML5 download vcard