Event handling with more keys and images