def stopwatch_start(obj): #use on_release: app.stopwatch_start() to call global swactive swactive = 1