clicking tasks updates ui and google api