added alarmmanager and asynctask