Fix  empty text bug & implements isPressedKey