Update EditProfiles.java

comments added, unused code section removed