Merge "Persist input gain in settings" into main