Fix for BT not disconnecting properly when unchecked in the preference screen.

Fixed #140