Fixed issues

1) createProfile error in onActivityResult; it doesn’t rely on Intent
data
2) UI consistency on Drive onPause and onResume
Fixed database upload when app is running
Merge branch 'master' into Non-fuel-dependent_Release_version

Conflicts:

obdEnergy/src/main/java/com/example/obdenergy/obdenergy/Activities/Drive
Fragment.java

obdEnergy/src/main/java/com/example/obdenergy/obdenergy/Activities/Graph
sFragment.java

obdEnergy/src/main/java/com/example/obdenergy/obdenergy/Activities/Metri
cFragment.java

obdEnergy/src/main/java/com/example/obdenergy/obdenergy/MainActivity.jav
a