Widget Checkbox reset

Hi I have a widget that allows the player to enable and disable a filter to use when playing the game, but when ticking the checkbox and exiting the widget then reenabling it, the checkbox is reset. I have been trying to get the widget instead of creating it, but still nothing. How do I get it to stay when exited.