So my intention is everytime I clicked the next page arrow the state would update the page number and call getData() to get data from remote database and then update work_orders