Re-factored make_row_editable function with ProductRow class object