Disable pull-to-refresh when remote search is not allowed

Fixed issue 6151