Synchronize handling event's history
Add some (a)NonNull and (a)Nullable annotations
Follow Code inspector