Search by text selection functionality in tab 2. Will extend it to other tabs.