Moved LCD declaration to a global scope