Hook method in onCreate()

If onCreate() is forgotten, than onActivityResult will crash app.