list activity passes id to main activity to search