private boolean isSocialNetworkAccountAdded(SocialNetworkAccount socialNetworkAccount)
	{
		for(int i=0; i<addedSocialNetworkAccountCount; i++)
		{
			SocialNetworkAccount addedSocialNetworkAct = socialNetworkAccounts[i];
			
			//If they have the same account type ...
			if(addedSocialNetworkAct.getSocialNetworkAccountType().equals(socialNetworkAccount.getSocialNetworkAccountType()))
			{
				//and same ID ...
				if(addedSocialNetworkAct.getAccountID() == socialNetworkAccount.getAccountID())
				{
					return true; //duplicate
				}
				//and same account name ...
				else if (addedSocialNetworkAct.getAccountName().equalsIgnoreCase(socialNetworkAccount.getAccountName()))
				{
					return true; //also duplicate		
				}
			}
		}		
		return false;
	}