Adapt the code to reuse Jake Wharton example at Devoxx 2014