Update TemplateSelectorPlugin.php