diff --git a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/submission/ui/testresults/negative/RATResultNegativeFragment.kt b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/submission/ui/testresults/negative/RATResultNegativeFragment.kt
index c6a73d1664800bf0d470842975753a5f3a0e66c4..790a2cbca56872f2a4ef0643fdde97b27979eda2 100644
--- a/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/submission/ui/testresults/negative/RATResultNegativeFragment.kt
+++ b/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/submission/ui/testresults/negative/RATResultNegativeFragment.kt
@@ -26,6 +26,19 @@ class RATResultNegativeFragment : Fragment(R.layout.fragment_submission_antigen_
 
     private val shortTime = DateTimeFormat.shortTime()
 
+    private val deleteRatTestConfirmationDialog by lazy {
+        DialogHelper.DialogInstance(
+            requireActivity(),
+            R.string.submission_test_result_dialog_remove_test_title,
+            R.string.submission_test_result_dialog_remove_test_message,
+            R.string.submission_test_result_dialog_remove_test_button_positive,
+            R.string.submission_test_result_dialog_remove_test_button_negative,
+            positiveButtonFunction = {
+                viewModel.onDeleteTestConfirmed()
+            }
+        )
+    }
+
     override fun onViewCreated(view: View, savedInstanceState: Bundle?) =
         with(binding) {
             coronatestNegativeAntigenResultButton.setOnClickListener { viewModel.onDeleteTestClicked() }
@@ -75,19 +88,6 @@ class RATResultNegativeFragment : Fragment(R.layout.fragment_submission_antigen_
             localTime.toString(DATE_FORMAT),
             localTime.toString(shortTime)
         )
-    }
-
-    private val deleteRatTestConfirmationDialog by lazy {
-        DialogHelper.DialogInstance(
-            requireActivity(),
-            R.string.submission_test_result_dialog_remove_test_title,
-            R.string.submission_test_result_dialog_remove_test_message,
-            R.string.submission_test_result_dialog_remove_test_button_positive,
-            R.string.submission_test_result_dialog_remove_test_button_negative,
-            positiveButtonFunction = {
-                viewModel.onDeleteTestConfirmed()
-            }
-        )
 
         val isAnonymousTest = with(testAge.test) {
             firstName == null && lastName == null && dateOfBirth == null