diff --git a/ProjectClock/AddAlarmViewController.swift b/ProjectClock/AddAlarmViewController.swift
index 1433c7d..b748f97 100644
--- a/ProjectClock/AddAlarmViewController.swift
+++ b/ProjectClock/AddAlarmViewController.swift
@@ -37,6 +37,14 @@ class AddAlarmViewController: UIViewController
}
+ /**
+ Called when the user clicks the remove button and brings them back to the home page
+ */
+ @IBAction func cancelAlarmButton(_ sender: Any) {
+ self.dismiss(animated: true, completion: nil)
+ //might need to reset all UI elements
+ }
+
/**
Called when the user clicks Add Alarm
*/
diff --git a/ProjectClock/Base.lproj/Main.storyboard b/ProjectClock/Base.lproj/Main.storyboard
index 98e9ab2..34df9d8 100644
--- a/ProjectClock/Base.lproj/Main.storyboard
+++ b/ProjectClock/Base.lproj/Main.storyboard
@@ -422,6 +422,9 @@
+
+
+