add search to library working with checkmark toggle