How to create multiple screens within a while?

try lv_obj_del(patern) and i think needed renamed variable, for example first second or read this post Unresponsive screen