Added basic Do Not Disturb functionality

This contains the functionality described in #4.

I need someone to test this, as I am not able to verify if it works on my own.