should be  if (this.applicationContext == event.getApplicationContext() ) {...}