add the feature that profile opens with the default row or column depending on the input data