fixed buffer overflow, backlight stays on while pressing buttons