fixed a memory leak as seen discovered from reading http://www.androiddesignpatterns.com/2013/04/activitys-threads-memory-leaks.html