If your code still isn't working, you need to post the latest version. We don't know which bit of the [good] advice you chose to apply, and whether you've applied it correctly.

To make it easier for us to help you, you should post a complete but simplified version of the program that exhibits the problem.