Fixed local notifications.

Now local notifications are created when creating a new todo. When
updating a todo the notification for this todo is canceled and a new
notification is created.