use localStorage to save todos and weather data