Fix onPause/onResume bugs in invite friends; clean up code style.
Merge branch 'master' of https://github.com/mwong56/CrowdvoteApp.git