public boolean ChangeState()
	{
		if ((this.GetBaseItem().Interaction.equals("default") || this.GetBaseItem().Interaction.equals("gate")) && (this.GetBaseItem().InteractionModesCount > 1))
		{
			if (ExtraData.isEmpty())
			{
                ExtraData = "0";
			}
			
			Integer Temp = Integer.parseInt(ExtraData) + 1;
			
			if (Temp >= this.GetBaseItem().InteractionModesCount)
			{
				ExtraData = "0";
			}
			else
			{
				ExtraData = "1";
			}
			
			return true;
		}
		else
		{
			return false;
		}
	}