More appropriate name for global variable
Improve callback
Logging actions.
Adding docstring
Removing bad instruction
Use the right action to delete the entries.
Fix the synchronization