compare char sequences using Comparing, not String.equals
cache Document.getText
Gradle: notification component, removed duplicate notification check and code cleanup