Apply codestyle and javadoc changes.

Apply the codestyle to ContentFragment and HomeActivity
Create javadoc for the changes to the HomeActivity onStop() method.

Uncomment piece of code that had been out for testing purposes.