AAPullToRefresh -  code refactoring