check if fragment isAdded when a swipe to refresh gesture is detected and fires a refresh