When the data of list is dynamically updating, if (previous list length)<(updated list length). The widget throws a range error