I have a screen with segmented bar and under each tab the data is shown by making two api calls when I switch the tabs continuously without giving the api call to complete it sh