Refactorized updateNotification and made it work more logically. Changed notification action in airplane mode.