Refactoring, Added cancel to text fetch