fixed Test button to refresh the fetched records before attempting to fetch data