Create different types of notifications

This minor modification allows to create different types of notifications and send them in different times.