gui: fix ticking/unticking checkboxes after going back from run window