added return statement to lamba-function in 'examples/app.cpp'