fix bug that long click doesn't work at first launch