Change implementation of "focus" into "event" way.