Added question type selection functionality