finish adding replace view