Add PullToRefreshLayout dependency to build.gradle