The warranty is irrelevant. They have sold you a car with a significant defect. I would strongly advise you not to accept the car ( and not to even attempt to fix it yourself)- it could cost you thousands to replace a touch screen.
I would be pretty firm with the garage- write or email them to say you will not accept the car with a major fault, and unless they agree to fix it, you are rejecting the car.
When you first posted, I thought you had bought a cheap car privately. If a garage has sold it to you, your approach has to be quite different- the law will be very clearly on your side