Added persistens checkbox to variable edit