Pull-down to refresh code added to butteryprogressbar