Trouble Applying REST Reference

I hope this message finds you well.
I would like to apply the REST reference, but when I select it as shown in the first image, it briefly switches to REST and then immediately changes back to Avg Ref. Also, when I try to apply REST from the Artifacts menu as shown in the second image, I get the error shown in the third image. Could you please advise what might be causing this? I would greatly appreciate your guidance. Thank you in advance.
Best regards,

This happens because in order to use Infinity reference (REST), you must have a head model (iconHeadModel) for EEG. If there is no head model, the re-referencing defaults to Avg Ref.. This is indicated in the Matlab command window:

BST> Infinity reference (REST) requires a EEG head model

The error shown, was a bug on printing the following error message, rather than on the REST computation:

Error: The montage "'Infinity reference (REST)" requires requires a EEG head model

This bug is now fixed in commit: 7626069



Before using REST, compute the head model for the EEG sensors

@Raymundo.Cassani
Thank you very much for your kind response.
Following your advice, I will proceed to create the head model and then attempt to apply the REST re-referencing again.