Update custom application example.

It's running on both Python 2 and 3 now.