         self.observationActionsDelegate = observationActionsDelegate;
         self.configureForAutoLayout();
         layoutView();
-        if let safeObservation = observation {
-            populate(observation: safeObservation);
-        }
-        if let safeScheme = self.scheme {
-            applyTheme(withScheme: safeScheme);
+        if let observation = observation {
+            populate(observation: observation);
+        }
+        if let scheme = self.scheme {
+            applyTheme(withScheme: scheme);
         }
         self.accessibilityLabel = "actions";
     }

    @objc func makeImportant() {
        importantInputView.resignFirstResponder();
        observationActionsDelegate?.makeImportant?(observation!, reason: self.importantInputView.text ?? "");
        toggleImportant();
    }
    
    @objc func removeImportant() {
        importantInputView.resignFirstResponder();
        if (observation?.isImportant() == true) {
            observationActionsDelegate?.removeImportant?(observation!);
        }
        
        toggleImportant();
    }
    
    @objc func doneButtonPressed() {

        }
        
        isImportant = false;
        if (!self.importantWrapperView.isHidden) {
            UIView.animate(withDuration: 0.2) {
                self.importantWrapperView.isHidden = true;
            }
        }
        importantInputView.text = nil;
        importantButton.setImage(UIImage(named: "flag_outline"), for: .normal);
        setImportantButton.accessibilityLabel = "Flag as important";
        setImportantButton.setTitle("Flag as important", for: .normal);
        setImportantButton.isEnabled = true;
        cancelOrRemoveButton.accessibilityLabel = "Cancel";
        cancelOrRemoveButton.setTitle("Cancel", for: .normal);
        cancelOrRemoveButton.isEnabled = true;
        if let important = observation.observationImportant {
            if (important.important == NSNumber(booleanLiteral: true)) {
                isImportant = true;
