Flake8
Move setVCard out to module level so that it can be reused.
Add an event handler to update VCard when a user changes prefs