Adding default profiles when no profiles in db; rearranged app.
preferences