New option - formatSelected
Merge pull request #2 from sentharren/new_option_format_selected

formatSelected callback added