user preferences form: prevent submit with enter key on text inputs
user preferences: fix TB when photo is left unchanged