Add search function for options