Change in the button controller events to support all the buttons' numbers.