Cleaned up device_manager_evt_handler and added some functionality to on_ble_evt