Fix the duration

- Duration is not sent.
- No timeout (for removing the notification) if duration is false or 0