Recognizing key pressed (not complete) and fixed table