Refactores view