[Fix Bug 894908] Minor fixes to profile and edit profile view.