Form with a lot of conditions is working very slow and randomly getting freeze.