took out some redundant code, added trainee_list to SharedPreferences for the arrow to messaging, comments.