Refactored the creation and updation of records and answers in them.
Pass the tempRecord object instead of recordID in QuestionWithOption view and Category view.