Fix: missing :title option cause error
Add optgroup options feature
Change version to 3.1.0