FinishButton doesnt work properly

I tried new FinishButton() but it wasnt found so I switched it for new PushButton("Finish") which passes ok.