Added keyboard event listening