Fix running with Python 3.10
Implicit conversion from float to int has been removed in Python 3.10, so the application doesn't start with "TypeError: setInterval(self, int): argument 1 has unexpected type 'float'"
Implicit conversion from float to int has been removed in Python 3.10, so the application doesn't start with "TypeError: setInterval(self, int): argument 1 has unexpected type 'float'"