i need some help in g lcd with a keypad 4x4

u8g.drawStr( 1, 1, " ");

Something like this should never be used to clear a line, unless you know how much to clear. This is TOO much white space and it will cause many visual issues.