Remove old view before adding new view