     }
     
     
-    // Functions handling different filters provided in the app.
-    @IBAction func onNegativeFilter(_ sender: UIButton) {
-        filterName = "negative"
-        enableCompareButton()
-        if(sender.isSelected) {
-            imageView.image = image
-            sender.isSelected = false
-        } else {
-            applyFilter(filterName: filterName!)
-            sender.isSelected = true
-        }
-    }
-    
-    @IBAction func onRedFilter(_ sender: UIButton) {
-        filterName = "redFilter"
-        enableCompareButton()
-        if(sender.isSelected) {
-            imageView.image = image
-            sender.isSelected = false
-        } else {
-            applyFilter(filterName: filterName!)
-            sender.isSelected = true
-        }
-    }
-    
-    @IBAction func onBlueFilter(_ sender: UIButton) {
-        filterName = "blueFilter"
-        enableCompareButton()
-        if(sender.isSelected) {
-            imageView.image = image
-            sender.isSelected = false
-        } else {
-            applyFilter(filterName: filterName!)
-            sender.isSelected = true
-        }
-    }
-    
-    @IBAction func onGreenFilter(_ sender: UIButton) {
-        filterName = "greenFilter"
-        enableCompareButton()
-        if(sender.isSelected) {
-            imageView.image = image
-            sender.isSelected = false
-        } else {
-            applyFilter(filterName: filterName!)
-            sender.isSelected = true
-        }
-    }
-
-    @IBAction func onAlphaFilter(_ sender: UIButton) {
-        filterName = "alphaFilter"
-        enableCompareButton()
-        if(sender.isSelected) {
-            imageView.image = image
-            sender.isSelected = false
-        } else {
-            applyFilter(filterName: filterName!)
-            sender.isSelected = true
-        }
-    }
+//    // Functions handling different filters provided in the app.
+//    @IBAction func onNegativeFilter(_ sender: UIButton) {
+//        filterName = "negative"
+//        enableCompareButton()
+//        if(sender.isSelected) {
+//            imageView.image = image
+//            sender.isSelected = false
+//        } else {
+//            applyFilter(filterName: filterName!)
+//            sender.isSelected = true
+//        }
+//    }
+//    
+//    @IBAction func onRedFilter(_ sender: UIButton) {
+//        filterName = "redFilter"
+//        enableCompareButton()
+//        if(sender.isSelected) {
+//            imageView.image = image
+//            sender.isSelected = false
+//        } else {
+//            applyFilter(filterName: filterName!)
+//            sender.isSelected = true
+//        }
+//    }
+//    
+//    @IBAction func onBlueFilter(_ sender: UIButton) {
+//        filterName = "blueFilter"
+//        enableCompareButton()
+//        if(sender.isSelected) {
+//            imageView.image = image
+//            sender.isSelected = false
+//        } else {
+//            applyFilter(filterName: filterName!)
+//            sender.isSelected = true
+//        }
+//    }
+//    
+//    @IBAction func onGreenFilter(_ sender: UIButton) {
+//        filterName = "greenFilter"
+//        enableCompareButton()
+//        if(sender.isSelected) {
+//            imageView.image = image
+//            sender.isSelected = false
+//        } else {
+//            applyFilter(filterName: filterName!)
+//            sender.isSelected = true
+//        }
+//    }
+//
+//    @IBAction func onAlphaFilter(_ sender: UIButton) {
+//        filterName = "alphaFilter"
+//        enableCompareButton()
+//        if(sender.isSelected) {
+//            imageView.image = image
+//            sender.isSelected = false
+//        } else {
+//            applyFilter(filterName: filterName!)
+//            sender.isSelected = true
+//        }
+//    }
     
     
     // Functions handling image views and button actions.

        }
    }
    
    func enableCompareButton() {
        if compareButton.isEnabled == false {
            compareButton.isEnabled = true
        }

            hideSlider()
            sender.isSelected = false
        } else {
            if self.filterMenu.isDescendant(of: self.view) {
                filterButton.isSelected = false
                hideFilterMenu()
            }
            showSlider()
            sender.isSelected = true
