fix bug alarm activity crash if not login