diff --git a/src/state.py b/src/state.py
index be81992d..ee39e094 100644
--- a/src/state.py
+++ b/src/state.py
@@ -51,6 +51,10 @@ discoveredPeers = {}
 
 dandelion = 0
 
+kivy = False
+
+kivyapp = None
+
 testmode = False
 
 clientHasReceivedIncomingConnections = False