Solve undefined for App.Common when is no App defined