What you did was synchronize your already-programmed fob to the car. I guess there's some kind of rolling key so it's not the same signal every time (otherwise it would be really easy to pick up and duplicate). If the car gets out of synch with the fob, pressing the button 5 times will re-synch them.To reprogram the remote to the car, stand close to the car and point the fob towards it (some say middle of the hood i was at the driver door). press the right button 5 times quickly in succession. You should hear the doors lock and the horn chirp as well the marker lights should flash.
That's what it took for me. If the above does not work for you it may have to go to a dealer or service station.
Another thing, if this is the only fob you have, if you've locked the car with it, and it gets lost or otherwise stops working, you won't be able to drive anywhere. The alarm can not be turned off by using the key.Good point. I got a little excited and put the info in the first key fob post I found .