A lot of changes

The datepicker has been replaced by a nicer looking one with a better
API.

The planned activations system has been updated to also support deactivations.