Fixed bug of not saving changes to working copy when editing profile