changed BroadcastReciever to Service to work better with asynctask