Try to implement keyboard listener