Changed code to use notification of BTKit