Fix multiple bluetooth devices bug

Was bug in some code trying to handle preference animations better.
Since those animations are all disabled now, just remove everything
again and re-add it.

Change-Id: If1ce07a8f2b4144d95a95cec6ebb1b423644825a
Fixes: 29314480
(cherry picked from commit 6666f9cc37ac8f9b99c6a174b1478924ed8fc6cd)
(cherry picked from commit e2428aff751cf52bc11e5f44f79064fc2c5cf9ef)
diff --git a/src/com/android/settings/bluetooth/BluetoothSettings.java b/src/com/android/settings/bluetooth/BluetoothSettings.java
index ba3336e..71ebcb5 100644
--- a/src/com/android/settings/bluetooth/BluetoothSettings.java
+++ b/src/com/android/settings/bluetooth/BluetoothSettings.java
@@ -320,11 +320,10 @@
                     messageId = R.string.bluetooth_empty_list_user_restricted;
                     break;
                 }
-                if (getPreferenceScreen().getPreferenceCount() == 0) {
-                    getPreferenceScreen().addPreference(mPairedDevicesCategory);
-                    getPreferenceScreen().addPreference(mAvailableDevicesCategory);
-                    getPreferenceScreen().addPreference(mMyDevicePreference);
-                }
+                getPreferenceScreen().removeAll();
+                getPreferenceScreen().addPreference(mPairedDevicesCategory);
+                getPreferenceScreen().addPreference(mAvailableDevicesCategory);
+                getPreferenceScreen().addPreference(mMyDevicePreference);
 
                 // Paired devices category
                 addDeviceCategory(mPairedDevicesCategory,