auto-select last used profile for edit profile