Aperture: Reset use case related attributes on bindCameraUseCases

Change-Id: I04c12e61c894ac1f5562f2ae7b61d64410c20de3
diff --git a/app/src/main/java/org/lineageos/aperture/MainActivity.kt b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
index 932fba7..685755a 100644
--- a/app/src/main/java/org/lineageos/aperture/MainActivity.kt
+++ b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
@@ -287,7 +287,10 @@
         cameraProvider.unbindAll()
 
         imageCapture = null
+        isTakingPhoto = false
+
         videoCapture = null
+        recording = null
 
         // Get shared preferences
         val sharedPreferences = getSharedPreferences()