implemented the two separate activities (view) for searching and storing and then viewing and deleting