Refactoring lcd_display.cpp