Add state yarn application detection