Simple Android permissions question?

I created an Android app that takes a photo and attaches the current location beneath it. Whenever I take the first picture on a new device or click on the Add Location button for the first time, the app freezes and kicks me out.
After the first time, if I go back, it works fine.
Why is this happening?

The camera doesn't even give me the checkbox option after I take my first photo.
It just seems to not even register anything.

2017-04-11T00:37:33.809Z