Refactioring image saver observer