method confirm in autocomplete page fragment improved