Guy to refactor selectedRow.
Guy to fix bug NullPointerException for the Profile.