Added sleep for pullToRefresh.