what happens if the user restarts his phone ?

I think we should persist the pending status with the icon, and not (or in addition to) in a separate file like this. At startup, when an icon is pending, we should call the retriever again.