add options to db with checking already exist
collected ids of questions for current survey
generate final survey data in an array and made ui flexible