Added method for SwipeRefreshLayout