Update home page code snippet to use Robolectric.buildActivity method

We thought the code snippet on the index page should be up to date. The page was still newing up an Activity.