ter($('#row-template').html());
        $newRow = $row.next();
        keepValues($newRow, titleVal, typeVal, stateVal);
        $newRow.find('.list-view-pf-save').prop('disabled', true);
        $newRow.find('.selectpicker').selectpicker('render');
        initBootstrapSwitch($newRow.find('.list-view-pf-switch'));
        setValues($newRow, titleVal, typeVal, stateVal);
        $newRow.find('.list-view-pf-date').text('Mar 13,2018');
      } else {
        $row.removeClass('active').find('.list-view-pf-save