fix bug where clicking save without clicking input radio button for active would set the value to false even if it was true before