Delete old image before setting a new one