Add disableRefresh function
add disableRefresh() function