Fix multiple selected options

Make sure options that are out of the screen get updated
when selecting a different option so they get properly
drawn when they're back in view.

Fixes: 134176881
Change-Id: Iebc32f44da63ac5e4dc618c98d7f3a233cfa4b3c
diff --git a/src/com/android/customization/widget/OptionSelectorController.java b/src/com/android/customization/widget/OptionSelectorController.java
index b2a81aa..e3e2cc5 100644
--- a/src/com/android/customization/widget/OptionSelectorController.java
+++ b/src/com/android/customization/widget/OptionSelectorController.java
@@ -152,6 +152,9 @@
                     }
                 }
             }
+        } else {
+            // Item is not visible, make sure the item is re-bound when it becomes visible
+            mAdapter.notifyItemChanged(index);
         }
     }