Added click feature to pins