Main.xml and profile.java edits for shared pref