Hi yawor,
Only the small remote was programmed. The TV remote was inside in the living room, quite far from my PC and no one was home when programming it. I did try a long press programming on the remote maybe that gave it 13, but it didn't work the long press (Do they work?)
Anyway, I tried as you said, but with any key, I press on the TV remote to erase it gives me "button already erased" message.
Any suggestions? is there a way I can completely wipe out all keys and start over fresh? Also shouldn't Flirc not react to a non-programmed key, here it is reacting to all keys being translated to Home key (Windows+Enter on KB map). Maybe the firmware should have a null translation to all non-programmed key for safety measure.