Only shows a notification when the app is in background.
Removes a whitespace.
Extracts ActivityLifecycleObserver class, #26.
Removes unused imports.
Merge pull request #26 from mootoh/hide_notification_in_foreground

Only shows a notification when the app is in background.