Your code is not readable. Sometimes, it’s a better idea to post your code somewhere like github to make sure there are no formatting issues.
You need to provide more information about your problem if you want useful help. What do you expect to happen? what is actually happening? Are you getting any error messages? what have you done so far to try and troubleshoot?