public function setToolPosition(
        Tool $tool,
        $position,
        User $user = null,
        Workspace $workspace = null,
        $type = 0
    ) {
        $movingTool = $this->orderedToolRepo->findOneBy(
            ['user' => $user, 'tool' => $tool, 'workspace' => $workspace, 'type' => $type]
        );
        $movingTool->setOrder($position);
        $this->om->persist($movingTool);
        $this->om->flush();
    }