Update list of elements on ios which throw TypeError on setSelectionRange