Refactored checking for update, and solved a bug with displaying the incorrect date when updating weather