added callback for list click