Added function to list click