Add option for disabling adding items when input is blurred

In f72a0b3f4094350299f97cbc9561fbadec4589df, a new behavior was introduced which adds items when the input is blurred. This isn't always desired, so I added an option to disable this functionality.

This also fixes #169.