Fixed: alarm manager didn't work and auto-stop was buggy at initialization