Removed usages of strcpy
Update UI before generating OTR key
Merge remote-tracking branch 'origin/master'