Add event of exitEnter and enterEnter