improved alarm and settings