understand how actionbar-pulltorefresh library works.