bluetooth: fix notification of BT connections - Add internal var to reduce calls to externs