Hi someDude,
First, can you please format your code properly. You can read how to do it in this thread: Guidelines—Tips on Asking Questions
Then you say having an issue but you don’t explain what is the issue… I’m afraid nobody can help you like this.
Lastly, be careful when posting your code, I see that you are using an image in your program. If you want us to be able to run your code, you also need to provide all the resources needed to make it work.