Bug Fix (if image not selected)

if image not selected it keeps the old one