Moved asynctask to oncreate