fix a bug for two long-press key