Updating widget using AlarmManager.