Local weather project. Something is wrong with my API :(

I finished my local weather project but these two day it works great and suddenly it looses everything, the location, the temperature, the background, everything that is related with the API! Does anyone has any idea why?

I think I found it. I have no idea why, but when I am taking the temperature in the metric system it does that!