Default app mode. Redefine this method in your application.