Implemented SpecializedButtonTypeGuesser (resolves symfony/symfony#8785)