feat(task): add actions to toolbar and handle state afterwards