fixed alarmmanager and settings