Creating unswitchNames and updateNames methods to update nicknames when
the user edits someone's nicknames and when we update the data from the
server, respectively.
Adding check not to replace with the nickname if it is equal to the user's
name.