Default Contact Search with Dial Pad

I am using JB 4.3 Touchwiz custom ROM on S3. When I press phone dial pad keys, it searches contacts by number only and not by text. I want to enable both options. Which app/xml files are required to be edited for changing the contact search option (i.e. the way android search contacts when dial pad keys are pressed). SecContacts.apk or secphone.apk ?