How many screens and blocks does your project have?
Follow the DRY principle of programming
and the tips General Tips and Tricks for App Inventor/Kodular
Taifun