(TECH) RePhone with LED Matrix

Well …
I had some imperfect connections and I remade the wiring (DO NOT USE THE PREVIOUS DIAGRAM, the Vcc of the LED Matrix is wired directly to the battery 3.7 V bigger than the recommended 2.8 V for RePhone)
Here the working diagram:

and this is what I have on LED Matrix:

I am expecting to have a clean image on the LED matrix but I do not, why? code or hardware?
The button is on breakout A1 (D3 on the Arduino pin out breakout board wiki diagram), do I call it pin #29 in the code as per the cross reference pin file?
like this:

const int buttonPin = 29;    // button pin on RePhone pad A1

If I use this in code then will output an error at compile time:

const int buttonPin = D3;    // button pin on RePhone pad A1

and this is the error message:
error: ‘D3’ was not declared in this scope
If I press the button nothing happens … (it should change the displayed pictogram)

Please advice
ThankS!