refactor(notifications): beautify (for what i can) the code