Convert search into a separate activity