Corrected validation in wizard to active the buttons