Var app is already defined in MyApp constructor

Removed var from app object declaration, as it is already declared inside MyApp constructor as a variable, alongside _private.