Now the ScanFragment saves the adapter in the MainActivity to see the latest discovered devices.