Refactoring PDFFindController in the text layer builder