[ui-project] Added method to edit friend