Text this: Defendant’s free will in legal collaboration and its relation with pre-trial detention