I´m trying to scan a QR code using a Button in my HomeFragment of a Navigation Drawer. I did it once in an activity, but when I try to run it in my Fragment, the onActivityR