         }
 
         confirmationBeepsTableViewCell.isLoading = true
-        if confirmationBeeps {
-            pumpManager.setConfirmationBeeps(enabled: false, completion: { (error) in
-                if let error = error {
-                    DispatchQueue.main.async {
-                        let title = LocalizedString("Error disabling confirmation beeps", comment: "The alert title for disable confirmation beeps error")
-                        self.present(UIAlertController(with: error, title: title), animated: true)
-                    }
-                }
-                done()
-            })
-        } else {
-            pumpManager.setConfirmationBeeps(enabled: true, completion: { (error) in
-                if let error = error {
-                    DispatchQueue.main.async {
-                        let title = LocalizedString("Error enabling confirmation beeps", comment: "The alert title for enable confirmation beeps error")
-                        self.present(UIAlertController(with: error, title: title), animated: true)
-                    }
-                }
-                done()
-            })
-        }
+        pumpManager.setConfirmationBeeps(enabled: !pumpManager.confirmationBeeps, completion: { (error) in
+            if let error = error {
+                DispatchQueue.main.async {
+                    let title = LocalizedString("Error setting confirmation beeps", comment: "The alert title for setting confirmation beeps error")
+                    self.present(UIAlertController(with: error, title: title), animated: true)
+                }
+            }
+            done()
+        })
     }
 }
 

    
    private enum Section: Int, CaseIterable {
        case status = 0
        case podDetails
        case diagnostics
        case configuration
        case rileyLinks
        case deletePumpManager
    }
    

    }

    private func confirmationBeepsTapped() {
        func done() {
            DispatchQueue.main.async { [weak self] in
                if let self = self {
