Restart using PhoneGap