I have a Westinghouse 40 inch tv and the remote is a rica Palm remote. The remote worked well then stopped . I put batteries it it and tried unsuccessful to manually program it and auto program it both didn't work. Is it the tv or the remote that is not allowing it to be programmed