Arduino freezes when using push button. I2C related - SOLVED -

Do you use the String class? Also what PeterH said.