def get_default_task(self):
        """
        Returns the default task if there is only one
        """
        default_tasks = list(filter(lambda task: task.default, self.values()))
        if len(default_tasks) == 1:
            return default_tasks[0]