Properly save percentage option

Updates #3829