Added dropdown item click handler