PhoneGap: Update weather when the app is resumed