Home Phonegap PhoneGap Application Crashing Issue When Rotating the Device