handle gracefully when there is no saved device
use anonymous inner class to implement the bluetooth state change listener