Fixed undefined variable in style edit form