Added spinner to dialog, implemented toast and overrode the onclick method for the positive dialog button.
Merge pull request #7 from Currfyg/master

Merge