Fix random 'java.lang.IllegalStateException: Content view not yet created' in adding pulltorefresh view in onActivityCreated method.