When the app is started because of an activity, I think configure() will be called twice. Once in the constructor, and then once when the activityreceived event is dispatched. It seems to me that you ought to remove the call in the constructor.  The initial mode ought to be defined by the order of options in config/app.js, but as it stands now, it is defined by the order the modes are listed in in lib/activity.js