Fix bug when deleting an option of a question. Use undelegateEvents when closing a view in order to remove the associated events of the view