added change to prevent multiple clicks during one click action