enable external app to be used as default app

@karlitschek @bboule