Fixed the issue of edit profile not showing existing values.

closes #48.