This is what I've done:
The variable remains unchanged and the dialog box ”Edit Variable” remains open. Is this a bug or did I misunderstand how the variables should work?