added boolean switch which has to be set to true to make data fields editable in edit mode