Add base package text in preferense page
Add isPackageName method