Which is the correct way to access Application class nowadays? In the codelabs of modern android developers, they showed this way: