Aperture: Fix extension mode selection in cyclePhotoEffects()

Change-Id: I6f759bdf403a1e2095f977f8e2baef87f8265815
diff --git a/app/src/main/java/org/lineageos/aperture/MainActivity.kt b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
index b606c70..4c20759 100644
--- a/app/src/main/java/org/lineageos/aperture/MainActivity.kt
+++ b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
@@ -1040,7 +1040,7 @@
 
         setExtensionMode(
             if (extensionMode == supportedExtensionModes.last()) supportedExtensionModes.first()
-            else supportedExtensionModes.indexOf(extensionMode) + 1
+            else supportedExtensionModes[supportedExtensionModes.indexOf(extensionMode) + 1]
         )
     }