refactored edit profile button