Adds support for local notifications. It is still not working as intended, though.