fixed file warnings, fixed error that app crashed when screen was rotated, alarm to update event times is now stopped in onPause() to save battery