Its, not a crash. Its how the app works, it closes the app when you accept/reject a permission I should probably add a option to not do that now that people can use applications in other devices