Added usage of shorter hand closure expression in app2.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>