Check if anything changes before updating the wallpaper.