Add content of FillFieldsBasedOnSelectedScript to a try-catch block because of possible SQLite errors