Added click event listener to map