Add refresh handler for swipe to refresh