boolean toggle widget now works