fix #697 (Setting alias isn't persistent for some contacts)
Merge branch 'pr712'