disabled click event to prevent multiple clicking in boxes