Fixed checkbox checkedness after reset button pressed