         return alertView
     }
     
+    // function to easily include one or more actions in the actionsheet
     func includeActions(actions: [String])
     {
         for action in actions

            alertView.dismissViewControllerAnimated(true, completion: nil)
        }
        
        // prefroms the actual operation.
        let confirmAction = UIAlertAction(title: "I know", style: .Destructive) { action -> Void in
            self.delegate.switchStateOfActivityView(true)
            

        actionList.append(approveAction)
    }
    
    // appriving a suggestion needs extra behaviour on top of approveShiftChange, namely removing the request
    func createApproveSuggestionAction()
    {
        approveShiftChange()
