Postpone installEventFilter() to get next key event first