Если ваша кнопка вызывает функцию, выполнение которой требует времени, окно kivy останавливается до тех пор, пока функция не будет завершена. Вы можете использовать многопоточность и заставить поток выполнять эту функцию. У меня нет вашего кода, но например:
from threading import Thread
# the function that the button executes
def button_press():
# create the thread to invoke other_func with arguments (2, 5)
t = Thread(target=other_func, args=(2, 5))
# set daemon to true so the thread dies when app is closed
t.daemon = True
# start the thread
t.start()
def other_func(a, b):
# your code here