Integrate AlarmManager in MainActivity; Seems working