Adding key pressed states