Changed log calls.
Removed wrong log.
Fixed notification closing.