Adding logic around requesting permission when binding to a device on android