A bit like this, and just watch the selected index.
https://github.com/jayfella/menu-menubackgrounds/blob/master/src/main/java/com/jayfella/menubackgrounds/menu/BackgroundChooserMenu.java#L73