Centering the position of the character
Changing the button generation algo