avoid saving the image when id has not changed
avoid saving the image when id has not changed

Cache the id of the saved image to avoid re-saving.

ibukanov/ahome,ibukanov/ahome,ibukanov/ahome,ibukanov/ahome,ibukanov/ahome,ibukanov/ahome,ibukanov/ahome,ibukanov/ahome,ibukanov/ahome