add UIAlertController to delete the library