Date picker fixes

We fixed two issues with date pickers. One that was preventing them from saving the date in certain situations, and another issue that caused some layout issues with date pickers.

We also fixed an issue that was preventing some preferences from being updated in your profile settings.