No, something went wrong. You were pressing the button, and it looked fine, and then all of a sudden the length of numbers reported increased.
If I'm to believe the first press, than I see nothing wrong with the code. Can you try to re-learn again? Once done, save and post your configuration file.