Add previous button to API calls to return to last API call