                 
                 let alert = UIAlertController(title: "Choose a valid time", message: "Choose a sleep time later than the wake time.", preferredStyle: .alert)
                 
-                let OKAction = UIAlertAction(title: "OK", style: .default) { (action) in
+                let OKAction = UIAlertAction(title: "Dismiss", style: .default) { (action) in
                 }
                 
                 alert.addAction(OKAction)

import UIKit

class SettingsTableViewController: UITableViewController {
    @IBOutlet weak var waterSwitch: UISwitch!
    @IBOutlet weak var customWaterTextField: UITextField!
    @IBOutlet weak var customWaterIntakeCell: UITableViewCell!
    
    @IBOutlet weak var sexCell: UITableViewCell!
    @IBOutlet weak var sexLabel: UILabel!
    
    @IBOutlet weak var ledSwitch: UISwitch!
    @IBOutlet weak var reminderCell: UITableViewCell!
    @IBOutlet weak var reminderLabel: UILabel!
    @IBOutlet weak var reminderTimeCell: UITableViewCell!
    @IBOutlet weak var timeLabel: UILabel!
    
<<<<<<< HEAD
    @IBOutlet weak var wakeLabel: UILabel!
    @IBOutlet weak var sleepLabel: UILabel!
    
    @IBOutlet weak var wakeTimeLabel: UILabel!
    @IBOutlet weak var sleepTimeLabel: UILabel!
    
    @IBOutlet weak var wakeTimePicker: UIDatePicker!
    @IBOutlet weak var sleepTimePicker: UIDatePicker!
    
=======
    //Wake time and sleep time
    @IBOutlet weak var wakeLabel: UILabel!
    @IBOutlet weak var wakeTimeLabel: UILabel!
    @IBOutlet weak var wakeTimePicker: UIDatePicker!

                customWaterIntakeCell.isHidden = true
                return 0.0
            }
        } else if indexPath.section == 3 && indexPath.row == 1 {
            if ledSwitch.isOn {
                reminderCell.isHidden = false
                return 55.0
