Building the functionality that will enable the user to change the type of the question while adding new or editing existing questions