how to change the content to a view to another using view.setElement