Use keyup instead of keypress, to detect backspace
Fixed query issue
Change the display property of entry