Does not use timeout when we can rely on event.
Using the pick activity instead of the traditional open dialog when the app is running on Firefox OS.