Fixes validation on preferences tab. All fields/buttons are enabled and disabled correctly now.