Are you using the Bootloader?
Why you didn't change the DEFINE OSC to 20MHZ?
Did you set the config fuses? i guess not.

'It doesn't work' mean nothing. Wich part doesn't work? LCD or what?

We don't have your PIC model
We don't have your schematic

We have nothing. How can we help you?