Fix app instantiation in greeter example