Added key checks in events

Added key press checks for:
- UP, DOWN, LEFT, RIGHT