Key event processing refactoring: support short and long pressed key events
Version update