I am having some trouble using AsyncTask as I have never come across it before and have no clue what I am doing with it.
AsyncTask
Basically I am getting a force
Go through this simple tutorial to get a good grounding on what an AsyncTask is and how to use it:
https://androidresearch.wordpress.com/2012/03/17/understanding-asynctask-once-and-forever/
Then try modifying your code to use async tasks. If you get problems, Just come back here :-)