use public property vars and not set

The set method in Formview is Deprecated since version 2.1, to be removed in 2.3. Access the public property {@link vars} instead.