I´ve trying for hours to fix the error but i cant find the way. I´ll insert the code bellow. The idea is that after pressed a button the aplication should redirect the user to t