Implementing search function in new activity