* Fix: Replacing custom gif image results in old gif appearing in admin page * refactor as per the review comment