Hook method in onCreate() method

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