Before changing views structure