fixed creating quiz and added preview