mChosen = aProfile;
mChosen = NS_STATIC_CAST(nsToolkitProfile*, aProfile);
nsToolkitProfileService::SetSelectedProfile(nsIToolkitProfile* aProfile){    if (mChosen != aProfile) {        mChosen = aProfile;        mDirty = PR_TRUE;    }    return NS_OK;}