fixed check boxes bug + restored tabs on preview page
see this discussion: https://moodle.org/mod/forum/discuss.php?d=244166

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>