Control Livolo switches / Livolo switch library

int button1[45]={44,

RAM is a precious resource on an AVR.
You could easily halve your use of it for these tables (use "byte" instead of "int"), or eliminate it altogether (use PROGMEM)