The attorney in a civil action or proceeding may be changed at any time. When such change is made, written notice of the substitution of a new attorney shall be given to adverse parties; until such notice, they shall recognize the former attorney.