Update handle_event.py

- Fixed some capitalization for certain functions